lib/relocator: Enforce GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT divisibility by 8
commit5658f35af97d34af5c8013ce3e206c82e422d67f
authorDaniel Kiper <daniel.kiper@oracle.com>
Thu, 22 Jun 2023 21:48:52 +0000 (22 23:48 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 22 Jun 2023 22:50:38 +0000 (23 00:50 +0200)
tree1a79a8e748b98665e10e1dfbb9ce52c10708c1e2
parent17d6ac1a7df4898743b9741d192f4f13947bf331
lib/relocator: Enforce GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT divisibility by 8

Most of leftover code blindly assumes GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT
divisibility by 8. So, enforce this at compile time.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
grub-core/lib/relocator.c