diff options
author | Atul Raut <rauji.raut@gmail.com> | 2023-07-31 04:18:08 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-07-31 14:54:08 +0200 |
commit | 43a1120c0578791a7cdac1978406d9bf486001d9 (patch) | |
tree | 36622994162d267421340fa917b86d96dd86d5c3 /include/target | |
parent | Linux 6.5-rc4 (diff) | |
download | linux-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