Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: macb: phytium-gem: donot convert the enum constant to a boolean
Fix follow error with clang-19: drivers/net/ethernet/cadence/macb_main.c:724:71: error: converting the enum constant to a boolean [-Werror,-Wint-in-bool-context] 724 | if (macb_is_gem(bp) && (state->interface == PHY_INTERFACE_MODE_SGMII || | ^ 1 error generated. Signed-off-by: WangYuli <wangyuli@uniontech.com>
- Loading branch information