diff options
| author | Sven Eckelmann <sven@narfation.org> | 2022-08-20 10:32:50 +0300 |
|---|---|---|
| committer | Simon Wunderlich <sw@simonwunderlich.de> | 2022-08-20 10:40:51 +0300 |
| commit | 813e62a6fe7539fdf0d8e018d4f157b57bdaeedd (patch) | |
| tree | 293e3c6969a27bbfc30fd443a6897dea7ac3b59c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 7d315c07eda7ae1bf54f2a05291504b006aecab5 (diff) | |
| download | linux-813e62a6fe7539fdf0d8e018d4f157b57bdaeedd.tar.xz | |
batman-adv: Drop initialization of flexible ethtool_link_ksettings
The commit 94dfc73e7cf4 ("treewide: uapi: Replace zero-length arrays with
flexible-array members") changed various structures from using 0-length
arrays to flexible arrays
net/batman-adv/bat_v_elp.c: note: in included file:
./include/linux/ethtool.h:148:38: warning: nested flexible array
net/batman-adv/bat_v_elp.c:128:9: warning: using sizeof on a flexible structure
In theory, this could be worked around by using {} as initializer for the
variable on the stack. But this variable doesn't has to be initialized at
all by the caller of __ethtool_get_link_ksettings - everything will be
initialized by the callee when no error occurs.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
