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 #107: FILE: drivers/net/dsa/ks8995.c:533: + ret = ks8995_read_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), &val); WARNING: line length of 90 exceeds 80 columns #109: FILE: drivers/net/dsa/ks8995.c:535: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 82 exceeds 80 columns #115: FILE: drivers/net/dsa/ks8995.c:541: + ret = ks8995_write_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), val); WARNING: line length of 91 exceeds 80 columns #117: FILE: drivers/net/dsa/ks8995.c:543: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 82 exceeds 80 columns #147: FILE: drivers/net/dsa/ks8995.c:573: + ret = ks8995_read_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), &val); WARNING: line length of 90 exceeds 80 columns #149: FILE: drivers/net/dsa/ks8995.c:575: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 82 exceeds 80 columns #155: FILE: drivers/net/dsa/ks8995.c:581: + ret = ks8995_write_reg(ks, KS8995_REG_PC(i, KS8995_REG_PC1), val); WARNING: line length of 91 exceeds 80 columns #157: FILE: drivers/net/dsa/ks8995.c:583: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", i); WARNING: line length of 85 exceeds 80 columns #168: FILE: drivers/net/dsa/ks8995.c:594: + dev_err(ks->dev, "failed to read KS8995_REG_PC1 on port %d\n", port); WARNING: line length of 86 exceeds 80 columns #176: FILE: drivers/net/dsa/ks8995.c:602: + dev_err(ks->dev, "failed to write KS8995_REG_PC1 on port %d\n", port); total: 0 errors, 19 warnings, 0 checks, 157 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 07838c1b9669 ("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, 19 warnings, 0 checks, 157 lines checked