aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-freeze-bridge.c
diff options
context:
space:
mode:
authorTomas Winkler <[email protected]>2017-03-20 13:04:05 +0000
committerGreg Kroah-Hartman <[email protected]>2017-04-08 15:38:25 +0000
commitdd04eecc41ae7cf139593b400e74defad62cec54 (patch)
treeaf56e3cbffa0576dc64948353753a61b6a62bd30 /drivers/fpga/altera-freeze-bridge.c
parentmei: hbm: remove variable length arrays (diff)
downloadkernel-dd04eecc41ae7cf139593b400e74defad62cec54.tar.gz
kernel-dd04eecc41ae7cf139593b400e74defad62cec54.zip
mei: bus: elminate variable length arrays
Though VLA are supported by CC99 there are many cavities and should be avoided. 'const size_t len = sizeof()' that we used may not be set at the compile time hence generating VLA code. This fixes also sparse warning warning: Variable length array is used type. Signed-off-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-freeze-bridge.c')
0 files changed, 0 insertions, 0 deletions