CHECK: Prefer using the BIT macro #47: FILE: include/linux/if_hsr.h:25: +#define HSR_SKB_INCLUDES_HEADER (1 << 4) WARNING: line length of 81 exceeds 80 columns #124: FILE: net/hsr/hsr_forward.c:386: + skb_shinfo(skb)->tx_flags = skb_shinfo(frame->skb_std)->tx_flags; WARNING: line length of 82 exceeds 80 columns #213: FILE: net/hsr/hsr_forward.c:622: + if ((req_port != HSR_PT_NONE) && (req_port != port->type)) CHECK: Unnecessary parentheses around 'req_port != HSR_PT_NONE' #213: FILE: net/hsr/hsr_forward.c:622: + if ((req_port != HSR_PT_NONE) && (req_port != port->type)) CHECK: Unnecessary parentheses around 'req_port != port->type' #213: FILE: net/hsr/hsr_forward.c:622: + if ((req_port != HSR_PT_NONE) && (req_port != port->type)) WARNING: line length of 82 exceeds 80 columns #260: FILE: net/hsr/hsr_forward.c:799: + frame->is_supervision, port->type); WARNING: line length of 84 exceeds 80 columns #262: FILE: net/hsr/hsr_forward.c:801: + return -1; /* Unknown node and !is_supervision, or no mem */ total: 0 errors, 4 warnings, 3 checks, 230 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 2723a2a0aa56 ("hsr: Allow to send a specific port and with HSR header") 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, 4 warnings, 3 checks, 230 lines checked