diff options
| author | Tomas Winkler <[email protected]> | 2017-03-20 13:04:04 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-04-08 15:38:25 +0000 |
| commit | 3fcbab6c4a962259b8cb83aea813a4c7fbe11f77 (patch) | |
| tree | c6b5415d60e941580d78919aa06faba03d32d6c5 /drivers/fpga/fpga-region.c | |
| parent | mei: drop amthif internal client (diff) | |
| download | kernel-3fcbab6c4a962259b8cb83aea813a4c7fbe11f77.tar.gz kernel-3fcbab6c4a962259b8cb83aea813a4c7fbe11f77.zip | |
mei: hbm: remove 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/fpga-region.c')
0 files changed, 0 insertions, 0 deletions
