diff options
author | Luke Koch <lu.ale.koch@gmail.com> | 2023-04-20 19:50:00 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-08 17:06:39 +0300 |
commit | 9fd3210602877d0909886387157386f65cfba415 (patch) | |
tree | 14a26b6eb0fbbd718e1630094069725b19ed6a12 /drivers/nvme | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
download | linux-9fd3210602877d0909886387157386f65cfba415.tar.xz |
staging: wlan-ng: replace rate macros
Change p80211msg_dot11req_scan_results rate members to struct arrays
instead of individually numbered member structs.
Replace macros to set rates with loops to avoid checkpatch warning
and adhere to linux coding style.
Reported by checkpatch:
CHECK: Macro argument reuse 'N' - possible side-effects?
Signed-off-by: Luke Koch <lu.ale.koch@gmail.com>
Link: https://lore.kernel.org/r/ZEFtOH83frrrireN@kernelhacking.kernelhacking.example.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions