diff options
| author | Atul Raut <[email protected]> | 2023-07-30 16:14:42 -0700 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-08-01 14:46:21 -0700 |
| commit | 005c9600003eabcb22336f37e149eed08f0a946a (patch) | |
| tree | a3fc51dc2c7c7237dff9eeea1e33d3a3ca3ca9c0 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 01e6f8ad8d26ced14b0cf288c42e55d03a7c5070 (diff) | |
net/macmace: Replace zero-length array with DECLARE_FLEX_ARRAY() helper
Since zero-length arrays are deprecated, we are replacing
them with C99 flexible-array members. As a result, instead
of declaring a zero-length array, use the new
DECLARE_FLEX_ARRAY() helper macro.
This fixes warnings such as:
./drivers/net/ethernet/apple/macmace.c:80:4-8: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays)
Signed-off-by: Atul Raut <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions