drivers/net/wireless/realtek/rtl8814au/os_dep/linux/ioctl_mp.c:2684:16: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
if ((tmp[1] == NULL)) {
~~~~~~~^~~~~~~
drivers/net/wireless/realtek/rtl8814au/os_dep/linux/ioctl_mp.c:2684:16: note: remove extraneous parentheses around the comparison to silence this warning
if ((tmp[1] == NULL)) {
~ ^ ~
drivers/net/wireless/realtek/rtl8814au/os_dep/linux/ioctl_mp.c:2684:16: note: use '=' to turn this equality comparison into an assignment
if ((tmp[1] == NULL)) {
^~
=
1 error generated.
## some more compilation stuff
drivers/net/wireless/realtek/rtl8814au/hal/hal_dm.c:603:27: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
if ((pregpriv->wifi_spec == 1)) { /* || (pmlmeinfo->HT_enable == 0)) */
~~~~~~~~~~~~~~~~~~~~^~~~
drivers/net/wireless/realtek/rtl8814au/hal/hal_dm.c:603:27: note: remove extraneous parentheses around the comparison to silence this warning
if ((pregpriv->wifi_spec == 1)) { /* || (pmlmeinfo->HT_enable == 0)) */
~ ^ ~
drivers/net/wireless/realtek/rtl8814au/hal/hal_dm.c:603:27: note: use '=' to turn this equality comparison into an assignment
if ((pregpriv->wifi_spec == 1)) { /* || (pmlmeinfo->HT_enable == 0)) */
^~
=
CC [M] drivers/media/platform/exynos/camera/ischain/is-v9_1_0/is-subdev-sensor.o
CC [M] drivers/soc/samsung/cpif/net_io_device.o
CC drivers/thermal/hisi_thermal.o
1 error generated.