CHECK: Unnecessary parentheses around 'port >= B53_PD_MODE_PORT_MIN' #29: FILE: drivers/net/dsa/b53/b53_common.c:662: + if (is5325(dev) && + (port >= B53_PD_MODE_PORT_MIN) && + (port <= B53_PD_MODE_PORT_MAX)) { CHECK: Unnecessary parentheses around 'port <= B53_PD_MODE_PORT_MAX' #29: FILE: drivers/net/dsa/b53/b53_common.c:662: + if (is5325(dev) && + (port >= B53_PD_MODE_PORT_MIN) && + (port <= B53_PD_MODE_PORT_MAX)) { total: 0 errors, 0 warnings, 2 checks, 27 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 0f6a697dcb74 ("net: dsa: b53: ensure BCM5325 PHYs are enabled") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 2 checks, 27 lines checked