WARNING: line length of 86 exceeds 80 columns #30: FILE: drivers/net/dsa/ks8995.c:84: +#define KS8995_PC1_RCV_SNIFF BIT(6) /* Packets received goes to sniffer port(s) */ WARNING: line length of 89 exceeds 80 columns #31: FILE: drivers/net/dsa/ks8995.c:85: +#define KS8995_PC1_XMIT_SNIFF BIT(5) /* Packets transmitted goes to sniffer port(s) */ WARNING: line length of 93 exceeds 80 columns #46: FILE: drivers/net/dsa/ks8995.c:454: + /* Isolate all user ports so they can only send packets to itself and the CPU port */ WARNING: line length of 82 exceeds 80 columns #48: FILE: drivers/net/dsa/ks8995.c:456: + ret = ks8995_read_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), &val); WARNING: line length of 90 exceeds 80 columns #50: FILE: drivers/net/dsa/ks8995.c:458: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 82 exceeds 80 columns #57: FILE: drivers/net/dsa/ks8995.c:465: + ret = ks8995_write_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), val); WARNING: line length of 91 exceeds 80 columns #59: FILE: drivers/net/dsa/ks8995.c:467: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 88 exceeds 80 columns #65: FILE: drivers/net/dsa/ks8995.c:473: + ret = ks8995_read_reg(ks, KS8995_REG_PC(KS8995_CPU_PORT, KS8995_REG_PC1), &val); WARNING: line length of 88 exceeds 80 columns #73: FILE: drivers/net/dsa/ks8995.c:481: + ret = ks8995_write_reg(ks, KS8995_REG_PC(KS8995_CPU_PORT, KS8995_REG_PC1), val); WARNING: line length of 82 exceeds 80 columns #101: FILE: drivers/net/dsa/ks8995.c:527: + ret = ks8995_read_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), &val); WARNING: line length of 90 exceeds 80 columns #103: FILE: drivers/net/dsa/ks8995.c:529: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 82 exceeds 80 columns #109: FILE: drivers/net/dsa/ks8995.c:535: + ret = ks8995_write_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), val); WARNING: line length of 91 exceeds 80 columns #111: FILE: drivers/net/dsa/ks8995.c:537: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 85 exceeds 80 columns #122: FILE: drivers/net/dsa/ks8995.c:548: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", port); WARNING: line length of 86 exceeds 80 columns #130: FILE: drivers/net/dsa/ks8995.c:556: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", port); WARNING: line length of 82 exceeds 80 columns #159: FILE: drivers/net/dsa/ks8995.c:585: + ret = ks8995_read_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), &val); WARNING: line length of 90 exceeds 80 columns #161: FILE: drivers/net/dsa/ks8995.c:587: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 82 exceeds 80 columns #167: FILE: drivers/net/dsa/ks8995.c:593: + ret = ks8995_write_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), val); WARNING: line length of 91 exceeds 80 columns #169: FILE: drivers/net/dsa/ks8995.c:595: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 85 exceeds 80 columns #180: FILE: drivers/net/dsa/ks8995.c:606: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", port); WARNING: line length of 86 exceeds 80 columns #188: FILE: drivers/net/dsa/ks8995.c:614: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", port); total: 0 errors, 21 warnings, 0 checks, 169 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 03d207e400ea ("net: dsa: ks8995: Implement port isolation") 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, 21 warnings, 0 checks, 169 lines checked