CHECK: Please don't use multiple blank lines #224: FILE: net/bridge/netfilter/ebtables.c:988: + CHECK: Blank lines aren't necessary after an open brace '{' #238: FILE: net/bridge/netfilter/ebtables.c:1002: + for_each_possible_cpu(cpu) { + CHECK: Please don't use multiple blank lines #260: FILE: net/bridge/netfilter/ebtables.c:1024: + + CHECK: Alignment should match open parenthesis #262: FILE: net/bridge/netfilter/ebtables.c:1026: +static void get_old_counters(const struct ebt_counter *oldcounters, + struct ebt_counter *counters, unsigned int nentries) WARNING: memory barrier without comment #296: FILE: net/bridge/netfilter/ebtables.c:1103: + smp_wmb(); WARNING: memory barrier without comment #299: FILE: net/bridge/netfilter/ebtables.c:1105: + smp_mb(); WARNING: suspect code indent for conditional statements (8, 12) #318: FILE: net/bridge/netfilter/ebtables.c:1124: + if (repl->num_counters) + get_old_counters(table->counters, counterstmp, table->nentries); CHECK: Alignment should match open parenthesis #368: FILE: net/bridge/netfilter/ebtables.c:1475: + counter_base = COUNTER_BASE(private->counters, + private->nentries, cpu); total: 0 errors, 3 warnings, 5 checks, 257 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 383512e32403 ("net/bridge: Optimizing read-write locks in ebtables.c") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 3 warnings, 5 checks, 257 lines checked