CHECK: Unnecessary parentheses around 'pkt_dev->vlan_id != 0xffff' #42: FILE: net/core/pktgen.c:2538: + if ((pkt_dev->flags & F_VID_RND) && (pkt_dev->vlan_id != 0xffff)) CHECK: Unnecessary parentheses around 'pkt_dev->svlan_id != 0xffff' #47: FILE: net/core/pktgen.c:2541: + if ((pkt_dev->flags & F_SVID_RND) && (pkt_dev->svlan_id != 0xffff)) total: 0 errors, 0 warnings, 2 checks, 25 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 679ef17dace3 ("net: pktgen: fix code style (WARNING: braces {} are not necessary for single statement blocks)") 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, 25 lines checked