diff options
author | Bart Van Assche <[email protected]> | 2023-08-01 16:21:50 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-08-07 21:12:32 -0400 |
commit | c306f746fee55b07d92dc768f3167f5b27a677db (patch) | |
tree | bbe552227a01ad0aca9a5c45ba9eb3bf1bcdc9f8 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 21f04fb4e8ca4a6a88c76b1ddf9ea94e6c118005 (diff) |
scsi: ufs: core: Fix the build for gcc 9 and before
gcc compilers before version 10 cannot do constant-folding for sub-byte
bitfields. This makes the compiler layout tests fail. Hence skip the layout
checks for gcc 9 and before.
Cc: Arnd Bergmann <[email protected]>
Cc: Naresh Kamboju <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Reported-by: Naresh Kamboju <[email protected]>
Closes: https://lore.kernel.org/linux-scsi/CA+G9fYur8UJoUyTLJFVEJPh-15TJ7kbdD2q8xVz8a3fLjkxxVw@mail.gmail.com/
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions