OSDN Git Service

brcmfmac: pass bus to the __brcmf_err() in pcie.c
authorRafał Miłecki <rafal@milecki.pl>
Wed, 6 Feb 2019 11:28:16 +0000 (12:28 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Feb 2019 15:22:48 +0000 (17:22 +0200)
commit8602e62441aba276cafd68034b72162fbc5ca0a6
tree29e758dc646036d298f1451d3fbd828f2987a20f
parent5cc898fbcb352b764f8d51c16e10e2eb0056173d
brcmfmac: pass bus to the __brcmf_err() in pcie.c

This enables dev_err() usage (instead of pr_err()) in the __brcmf_err().
It makes error messages more meaningful and is important for debugging
errors/bugs on systems with multiple brcmfmac supported devices.

All bus files should follow & get updated similarly (soon).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c