CHECK: Unnecessary parentheses around 'speed == SPEED_10' #36: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1099: + if ((speed == SPEED_10) || (speed == SPEED_100) || + (speed == SPEED_1000)) { CHECK: Unnecessary parentheses around 'speed == SPEED_100' #36: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1099: + if ((speed == SPEED_10) || (speed == SPEED_100) || + (speed == SPEED_1000)) { CHECK: Unnecessary parentheses around 'speed == SPEED_1000' #36: FILE: drivers/net/ethernet/stmicro/stmmac/stmmac_main.c:1099: + if ((speed == SPEED_10) || (speed == SPEED_100) || + (speed == SPEED_1000)) { total: 0 errors, 0 warnings, 3 checks, 38 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 5997207d424e ("net: stmmac: move reverse-"pcs" mode setup to stmmac_check_pcs_mode()") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 0 warnings, 3 checks, 38 lines checked