]> git.ipfire.org Git - thirdparty/grub.git/commit
misc: Add parentheses around ALIGN_UP() and ALIGN_DOWN() arguments
authorGlenn Washburn <development@efficientek.com>
Tue, 8 Dec 2020 22:45:33 +0000 (16:45 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Sat, 12 Dec 2020 00:19:04 +0000 (01:19 +0100)
commit8e8b2316acbaef8c4e6c0839cf27a42217dfb7c3
treef6b33e85bb2b650351540976298aff1955afdc13
parent880dfd8f401999c4e3a2a86921c1b5535eb5d650
misc: Add parentheses around ALIGN_UP() and ALIGN_DOWN() arguments

This ensures that expected order of operations is preserved when arguments
are expressions.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Patrick Steinhardt <ps@pks.im>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/misc.h