]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723bs: put parentheses on macros with complex values in include/rtw_pwrc...
authorFabio Aiuto <fabioaiuto83@gmail.com>
Sat, 27 Mar 2021 14:24:12 +0000 (15:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Mar 2021 12:37:00 +0000 (14:37 +0200)
commitddfdf3feb2c186aeea44a240284d929917650792
tree8c54459e70924d60ed7aa4c743296ed26e44b0eb
parent75b07b42e5929fab7cfeed550a2e55e982a40a80
staging: rtl8723bs: put parentheses on macros with complex values in include/rtw_pwrctrl.h

fix the following checkpatch warnings:

ERROR: Macros with complex values should be enclosed in parentheses
92: FILE: drivers/staging/rtl8723bs/include/rtw_pwrctrl.h:92:
+#define LPS_DELAY_TIME 1*HZ /*  1 sec */
--
ERROR: Macros with complex values should be enclosed in parentheses
244: FILE: drivers/staging/rtl8723bs/include/rtw_pwrctrl.h:244:
+#define rtw_ips_mode_req(pwrctl, ips_mode) \

Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/b3b7cf5ae7b0c1c07a629b618fd86a7b89331b33.1616854134.git.fabioaiuto83@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtw_pwrctrl.h