scsi: mpt3sas: Fix an outdated comment

May reduce confusion for users of MPI2_CONFIG_PAGE_IO_UNIT_3::GPIOVal[].

Fixes: a1c4d77413 ("scsi: mpt3sas: Replace unnecessary dynamic allocation with a static one")
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: James Seo <james@equiv.tech>
Link: https://lore.kernel.org/r/20230806170604.16143-10-james@equiv.tech
Tested-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
James Seo 2023-08-06 10:06:01 -07:00 committed by Martin K. Petersen
parent 66f2a53fc6
commit 8a3db51e01

View File

@ -974,7 +974,7 @@ typedef struct _MPI2_CONFIG_PAGE_IO_UNIT_1 {
/* /*
*Host code (drivers, BIOS, utilities, etc.) should leave this define set to *Host code (drivers, BIOS, utilities, etc.) should leave this define set to
*one and check the value returned for GPIOCount at runtime. *36 and check the value returned for GPIOCount at runtime.
*/ */
#ifndef MPI2_IO_UNIT_PAGE_3_GPIO_VAL_MAX #ifndef MPI2_IO_UNIT_PAGE_3_GPIO_VAL_MAX
#define MPI2_IO_UNIT_PAGE_3_GPIO_VAL_MAX (36) #define MPI2_IO_UNIT_PAGE_3_GPIO_VAL_MAX (36)