alpha: Replace one-element array with flexible-array member
authorGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 2 Aug 2023 13:25:56 +0000 (07:25 -0600)
committerKees Cook <keescook@chromium.org>
Tue, 15 Aug 2023 23:43:54 +0000 (16:43 -0700)
commit967afdf808cf66908a55c55b8ec5937cc20676ce
treec1dd9d8b0729a296db88b172cc75082743b3abf5
parentaa9f10d57056cea51d41283d3785bccbbb9f459e
alpha: Replace one-element array with flexible-array member

One-element and zero-length arrays are deprecated. So, replace
one-element array in struct osf_dirent with flexible-array
member.

This results in no differences in binary output.

Signed-off-by: "Gustavo A. R. Silva" <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/ZMpZZBShlLqyD3ax@work
Signed-off-by: Kees Cook <keescook@chromium.org>
arch/alpha/kernel/osf_sys.c