diff options
| author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2023-08-01 23:05:31 -0600 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-08-10 07:32:41 -0700 |
| commit | e55c50eac36a704e9e867257f50cd482e8256755 (patch) | |
| tree | 920ecb943c4fd434795bc1f5920892bf362e87d8 /net/lapb/lapb_subr.c | |
| parent | 29afcd69672a4e3d8604d17206d42004540d6d5c (diff) | |
i40e: Replace one-element array with flex-array member in struct i40e_package_header
One-element and zero-length arrays are deprecated. So, replace
one-element array in struct i40e_package_header with flexible-array
member.
The `+ sizeof(u32)` adjustments ensure that there are no differences
in binary output.
Link: https://github.com/KSPP/linux/issues/335
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
