On Fri, May 15, 2020 at 05:40:44PM +0800, heshuai1 wrote:
> Fix this coding style error reported by checkpatch.pl:
> ERROR: do not use assignment in if condition
> #1120: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:1120::
> +if ((addr = of_get_property(np, "local-mac-address", &l
Fix this coding style error reported by checkpatch.pl:
ERROR: do not use assignment in if condition
#1120: FILE: drivers/staging/rtl8723bs/core/rtw_ieee80211.c:1120::
+ if ((addr = of_get_property(np, "local-mac-address", &len)) &&
Signed-off-by: heshuai1
---
drivers/staging/rtl8723bs