summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorAtul Raut <rauji.raut@gmail.com>2023-07-31 04:18:08 +0200
committerHelge Deller <deller@gmx.de>2023-07-31 14:54:08 +0200
commit43a1120c0578791a7cdac1978406d9bf486001d9 (patch)
tree36622994162d267421340fa917b86d96dd86d5c3 /include/target
parentLinux 6.5-rc4 (diff)
downloadlinux-43a1120c0578791a7cdac1978406d9bf486001d9.tar.xz
linux-43a1120c0578791a7cdac1978406d9bf486001d9.zip
fbdev: amifb: Replace zero-length arrays with DECLARE_FLEX_ARRAY() helper
Replacing zero-length arrays with C99 flexible-array members because they are deprecated. Use the new DECLARE_FLEX_ARRAY() auxiliary macro instead of defining a zero-length array. This fixes warnings such as: ./drivers/video/fbdev/amifb.c:690:6-10: WARNING use flexible-array member instead Signed-off-by: Atul Raut <rauji.raut@gmail.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions