linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH net-next] net: brcmfmac: check return value of driver_for_each_device()
       [not found] <1600429068-28003-1-git-send-email-zhangchangzhong@huawei.com>
@ 2020-09-18 14:41 ` Kalle Valo
  0 siblings, 0 replies; only message in thread
From: Kalle Valo @ 2020-09-18 14:41 UTC (permalink / raw)
  To: Zhang Changzhong; +Cc: davem, kuba, netdev, linux-kernel, linux-wireless

+ linux-wireless

Zhang Changzhong <zhangchangzhong@huawei.com> writes:

> 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>

Please cc linux-wireless on all wireless patches. Otherwise our
patchwork won't see it and I can't apply it. So please resend as v2.

-- 
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-18 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1600429068-28003-1-git-send-email-zhangchangzhong@huawei.com>
2020-09-18 14:41 ` [PATCH net-next] net: brcmfmac: check return value of driver_for_each_device() Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).