diff options
author | Kees Cook <keescook@chromium.org> | 2023-05-23 09:55:02 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2023-05-23 19:46:09 -0700 |
commit | d617ef039fb8eec48a3424f79327220e0b7cbff7 (patch) | |
tree | fb3e268b01fad726f608b7ac1c92dd912aafa23b /fs/nls/mac-celtic.c | |
parent | 44c026a73be8038f03dbdeef028b642880cf1511 (diff) |
fscrypt: Replace 1-element array with flexible array
1-element arrays are deprecated and are being replaced with C99
flexible arrays[1].
As sizes were being calculated with the extra byte intentionally,
propagate the difference so there is no change in binary output.
[1] https://github.com/KSPP/linux/issues/79
Cc: Eric Biggers <ebiggers@kernel.org>
Cc: "Theodore Y. Ts'o" <tytso@mit.edu>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Cc: linux-fscrypt@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20230523165458.gonna.580-kees@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/nls/mac-celtic.c')
0 files changed, 0 insertions, 0 deletions