Messages in this thread | | | Subject | Re: [PATCH v2] brcmfmac: check return value of driver_for_each_device() | From | Kalle Valo <> | Date | Thu, 24 Sep 2020 15:48:13 +0000 (UTC) |
| |
Zhang Changzhong <zhangchangzhong@huawei.com> wrote:
> Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c:1576:6: warning: > variable 'ret' set but not used [-Wunused-but-set-variable] > 1576 | int ret; > | ^~~ > > driver_for_each_device() has been declared with __must_check, so the > return value should be checked. > > Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Patch applied to wireless-drivers-next.git, thanks.
72a398a63b88 brcmfmac: check return value of driver_for_each_device()
-- https://patchwork.kernel.org/patch/11786561/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
| |