+7
−7
Loading
In C language, we cannot use constant at compile time. Hence the local array _ana_desc[] is not a fixed size array but a variable length array. We can avoid using variable length array by changing const variable to macro constant. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I7333a8078d3102c4bd5088f56f6530846854c85f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4093 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Monica Kenguva <monica.kenguva@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>