Hay
Date
April 8, 2025, 12:37 p.m.

Environment
powerpc

make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- 'HOSTCC=sccache clang' 'CC=sccache clang' LLVM=1 LLVM_IAS=0
/builds/linux/drivers/net/ethernet/freescale/ucc_geth.c:1362:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
 1362 |         if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII))
      |              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builds/linux/drivers/net/ethernet/freescale/ucc_geth.c:1362:28: note: remove extraneous parentheses around the comparison to silence this warning
 1362 |         if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII))
      |             ~                     ^                          ~
/builds/linux/drivers/net/ethernet/freescale/ucc_geth.c:1362:28: note: use '=' to turn this equality comparison into an assignment
 1362 |         if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII))
      |                                   ^~
      |                                   =


make --silent --keep-going --jobs=8 O=/home/tuxbuild/.cache/tuxmake/builds/1/build ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- HOSTCC=clang CC=clang LLVM=1 LLVM_IAS=0
/builds/linux/drivers/net/ethernet/freescale/ucc_geth.c:1362:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
 1362 |         if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII))
      |              ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/builds/linux/drivers/net/ethernet/freescale/ucc_geth.c:1362:28: note: remove extraneous parentheses around the comparison to silence this warning
 1362 |         if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII))
      |             ~                     ^                          ~
/builds/linux/drivers/net/ethernet/freescale/ucc_geth.c:1362:28: note: use '=' to turn this equality comparison into an assignment
 1362 |         if ((ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII))
      |                                   ^~
      |                                   =