Tomas Winkler dd04eecc41 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 <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-08 17:38:25 +02:00
..
2017-04-08 17:38:25 +02:00
2017-04-08 17:38:25 +02:00
2017-04-08 17:38:25 +02:00
2017-04-08 17:38:25 +02:00
2016-11-29 20:15:30 +01:00
2014-05-03 19:21:22 -04:00
2017-04-08 17:38:25 +02:00
2017-04-08 17:38:25 +02:00
2017-04-08 17:38:25 +02:00
2017-04-08 17:38:25 +02:00
2017-04-08 17:38:25 +02:00