diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2020-06-29 17:27:46 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2020-07-01 16:35:23 -0700 |
commit | 66486d8943bac36821f66b7e2d33e4c7c691e113 (patch) | |
tree | 76040390708d5abdc1ffb4895905293ed2263c89 /drivers/net/ethernet/qualcomm/qca_debug.c | |
parent | b3c3890489f6d3794916958d1663ab6aecb0290b (diff) |
ice: replace single-element array used for C struct hack
Convert the pre-C90-extension "C struct hack" method (using a single-
element array at the end of a structure for implementing variable-length
types) to the preferred use of C99 flexible array member.
Additional code cleanups were done near areas affected by this change.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/qca_debug.c')
0 files changed, 0 insertions, 0 deletions