WARNING: line length of 81 exceeds 80 columns #31: FILE: net/nfc/nci/ntf.c:61: + if (skb->len < offsetofend(struct nci_core_conn_credit_ntf, num_entries)) WARNING: line length of 82 exceeds 80 columns #39: FILE: net/nfc/nci/ntf.c:71: + if (skb->len < offsetofend(struct nci_core_conn_credit_ntf, num_entries) + WARNING: line length of 92 exceeds 80 columns #219: FILE: net/nfc/nci/ntf.c:452: + if (skb->len < offsetofend(struct nci_rf_discover_ntf, rf_tech_specific_params_len)) CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfca_poll #236: FILE: net/nfc/nci/ntf.c:476: + &(ntf.rf_tech_specific_params.nfca_poll), data, CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfcb_poll #245: FILE: net/nfc/nci/ntf.c:484: + &(ntf.rf_tech_specific_params.nfcb_poll), data, CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfcf_poll #254: FILE: net/nfc/nci/ntf.c:492: + &(ntf.rf_tech_specific_params.nfcf_poll), data, CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfcv_poll #263: FILE: net/nfc/nci/ntf.c:500: + &(ntf.rf_tech_specific_params.nfcv_poll), data, WARNING: line length of 98 exceeds 80 columns #275: FILE: net/nfc/nci/ntf.c:700: + if (skb->len < offsetofend(struct nci_rf_intf_activated_ntf, rf_tech_specific_params_len)) CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfca_poll #291: FILE: net/nfc/nci/ntf.c:739: + &(ntf.rf_tech_specific_params.nfca_poll), data, CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfcb_poll #300: FILE: net/nfc/nci/ntf.c:747: + &(ntf.rf_tech_specific_params.nfcb_poll), data, CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfcf_poll #309: FILE: net/nfc/nci/ntf.c:755: + &(ntf.rf_tech_specific_params.nfcf_poll), data, CHECK: Unnecessary parentheses around ntf.rf_tech_specific_params.nfcv_poll #318: FILE: net/nfc/nci/ntf.c:763: + &(ntf.rf_tech_specific_params.nfcv_poll), data, total: 0 errors, 4 warnings, 8 checks, 321 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 cead2ff75e04 ("net: nfc: nci: Fix parameter validation for packet data") 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, 8 checks, 321 lines checked