Messages in this thread | | | Subject | Re: [PATCH v2 00/12] scsi: mpt3sas: Use flexible arrays and do a few cleanups | From | "Martin K. Petersen" <> | Date | Thu, 24 Aug 2023 23:00:57 -0400 |
| |
> Commit df8fc4e934c1 ("kbuild: Enable -fstrict-flex-arrays=3") has > resulted in the only arrays that UBSAN_BOUNDS considers unbounded > being trailing arrays declared with [] as the last member of a struct. > Unbounded trailing arrays declared with [1] are common in mpt3sas, > which is causing spurious warnings to appear in some situations, e.g. > when more than one physical disk is connected:
Broadcom: Please review/test. Thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |