]> git.baikalelectronics.ru Git - kernel.git/commit
x86/boot: Fix the setup data types max limit
authorBorislav Petkov <bp@suse.de>
Sun, 10 Jul 2022 09:15:47 +0000 (11:15 +0200)
committerBorislav Petkov <bp@suse.de>
Sun, 10 Jul 2022 09:17:40 +0000 (11:17 +0200)
commitfd82f30b683df9d0d9179df702251c77ccc36197
tree854054b969c2ad0fca91ef474609f25c9d5c3687
parentddcd4589f360637943d14851628f9e5da4111c78
x86/boot: Fix the setup data types max limit

Commit in Fixes forgot to change the SETUP_TYPE_MAX definition which
contains the highest valid setup data type.

Correct that.

Fixes: b32fd367e28c ("x86/boot: Add Confidential Computing type to setup_data")
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/ddba81dd-cc92-699c-5274-785396a17fb5@zytor.com
arch/x86/include/uapi/asm/bootparam.h