diff options
| author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-09 18:12:02 +0200 |
|---|---|---|
| committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:43 +0200 |
| commit | 40b075042bf74121c4dbca68a49bc5c7b45b3e6f (patch) | |
| tree | 3629ec698caff1130f8694a8ae4808f6d97bb82c /package/kernel/linux/modules/virt.mk | |
| parent | 2d0125bd85a2812ee7bed6c37a8fdd3369d640f1 (diff) | |
| download | upstream-40b075042bf74121c4dbca68a49bc5c7b45b3e6f.tar.gz upstream-40b075042bf74121c4dbca68a49bc5c7b45b3e6f.tar.bz2 upstream-40b075042bf74121c4dbca68a49bc5c7b45b3e6f.zip | |
kernel: broadcom-wl: add patch fixing compilation warning
Add patch fixing compilation warning related to if clause not guarding in
wl_iw.c
Fix compilation warning:
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_legacy/broadcom-wl-5.10.56.27.3/driver/wl_iw.c: In function 'wl_iw_set_freq':
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_legacy/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:393:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
393 | if (fwrq->m > 4000 && fwrq->m < 5000)
| ^~
/__w/openwrt/openwrt/openwrt/build_dir/target-mipsel-openwrt-linux-musl_musl/linux-bcm47xx_legacy/broadcom-wl-5.10.56.27.3/driver/wl_iw.c:396:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
396 | chan = wf_mhz2channel(fwrq->m, sf);
| ^~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'package/kernel/linux/modules/virt.mk')
0 files changed, 0 insertions, 0 deletions
