CHECK: Prefer kernel type 'u8' over 'uint8_t' #73: FILE: include/linux/if_hsr.h:33: + uint8_t tx_port; CHECK: Prefer kernel type 'u8' over 'uint8_t' #74: FILE: include/linux/if_hsr.h:34: + uint8_t hsr_hdr; CHECK: Prefer kernel type 'u8' over 'uint8_t' #75: FILE: include/linux/if_hsr.h:35: + uint8_t __pad0[4]; CHECK: Prefer kernel type 'u32' over 'uint32_t' #76: FILE: include/linux/if_hsr.h:36: + uint32_t magic; CHECK: Prefer kernel type 'u8' over 'uint8_t' #77: FILE: include/linux/if_hsr.h:37: + uint8_t __pad1[2]; CHECK: Prefer kernel type 'u16' over 'uint16_t' #78: FILE: include/linux/if_hsr.h:38: + uint16_t eth_type; WARNING: line length of 88 exceeds 80 columns #242: FILE: net/hsr/hsr_device.c:238: + BUILD_BUG_ON(sizeof(struct hsr_inline_header) != sizeof(struct ethhdr)); WARNING: line length of 83 exceeds 80 columns #251: FILE: net/hsr/hsr_device.c:247: + if (tx_port != HSR_PT_SLAVE_A && tx_port != HSR_PT_SLAVE_B) WARNING: line length of 81 exceeds 80 columns #259: FILE: net/hsr/hsr_device.c:255: + skb_set_network_header(skb, ETH_HLEN + HSR_HLEN); WARNING: line length of 81 exceeds 80 columns #333: FILE: net/hsr/hsr_forward.c:389: + skb_shinfo(skb)->tx_flags = skb_shinfo(frame->skb_std)->tx_flags; WARNING: line length of 83 exceeds 80 columns #346: FILE: net/hsr/hsr_forward.c:449: + if (frame->port_rcv->type == HSR_PT_MASTER && !frame->has_foreign_header) { WARNING: line length of 82 exceeds 80 columns #424: FILE: net/hsr/hsr_forward.c:757: + frame->is_supervision, port->type); WARNING: line length of 84 exceeds 80 columns #426: FILE: net/hsr/hsr_forward.c:759: + return -1; /* Unknown node and !is_supervision, or no mem */ WARNING: line length of 81 exceeds 80 columns #495: FILE: net/hsr/hsr_slave.c:92: + if (hsr_ethhdr->hsr_tag.encap_proto == htons(ETH_P_1588)) total: 0 errors, 8 warnings, 6 checks, 409 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 5b3aabf2b128 ("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, 8 warnings, 6 checks, 409 lines checked