diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-03-16 14:30:50 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-03-19 11:07:40 +0300 |
| commit | f10ebd136dfef1d8fac0ac29587e7e898c980e3e (patch) | |
| tree | a4b6b9c7bad5c278165ff2d4d7f2c3f2fd669331 /scripts/decodecode | |
| parent | 777d8ba5aada960c666f810d5d820ab55ebb64c3 (diff) | |
| download | linux-f10ebd136dfef1d8fac0ac29587e7e898c980e3e.tar.xz | |
wifi: nl80211: use int for band coming from netlink
This was pointed out before, but there are issues with just
removing the <0 check since enum representation isn't fixed,
nla_type() returns int but really can only return small
non-negative values, etc. Now newer versions of sparse are
also starting to warn on it. Just use int for the band var.
Link: https://patch.msgid.link/20260316123050.8c2d9f3426a0.I86acfa785982993fbffd148cc59049991bd6158f@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions
