Skip to content
Commit 43a1120c authored by Atul Raut's avatar Atul Raut Committed by Helge Deller
Browse files

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: default avatarAtul Raut <rauji.raut@gmail.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 5d0c230f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment