WARNING: line length of 84 exceeds 80 columns #195: FILE: kernel/bpf/cnum.c:19: + return (struct cnum32){ .base = (u32)cnum.base, .size = cnum.size }; WARNING: line length of 83 exceeds 80 columns #201: FILE: kernel/bpf/cnum.c:25: + * 64-bit number axis ---> WARNING: line length of 90 exceeds 80 columns #203: FILE: kernel/bpf/cnum.c:27: + * N*2^32 (N+1)*2^32 (N+2)*2^32 (N+3)*2^32 WARNING: line length of 83 exceeds 80 columns #204: FILE: kernel/bpf/cnum.c:28: + * ||------|---|=====|-------||----------|=====|-------||----------|=====|----|--|| WARNING: line length of 95 exceeds 80 columns #225: FILE: kernel/bpf/cnum.c:49: + b1_max = (u32)b1.base + (u32)b1.size; /* overflow here is fine and necessary */ WARNING: line length of 82 exceeds 80 columns #229: FILE: kernel/bpf/cnum.c:53: + * ||=====|------------|=====||=====|---------|---|=====|| WARNING: line length of 81 exceeds 80 columns #230: FILE: kernel/bpf/cnum.c:54: + * |b1 ->| |<- b1||b1 ->| | |<- b1| WARNING: line length of 90 exceeds 80 columns #232: FILE: kernel/bpf/cnum.c:56: + * |<-------------- t ------------>|<-- d -->| (after adjustment) WARNING: line length of 82 exceeds 80 columns #242: FILE: kernel/bpf/cnum.c:66: + * ||=====|------------|=====||===|=|-------------|=|===|| WARNING: line length of 81 exceeds 80 columns #243: FILE: kernel/bpf/cnum.c:67: + * |b1 ->| |<- b1||b1 +>| |<+ b1| WARNING: line length of 82 exceeds 80 columns #270: FILE: kernel/bpf/cnum.c:94: + * ||-------------|========|-||------|-------|========|-|| WARNING: line length of 81 exceeds 80 columns #273: FILE: kernel/bpf/cnum.c:97: + * |<- t ->|<-- d -->| (after adjustment) WARNING: line length of 82 exceeds 80 columns #279: FILE: kernel/bpf/cnum.c:103: + * ||--|========|------------||--|========|-------|-----|| WARNING: line length of 94 exceeds 80 columns #282: FILE: kernel/bpf/cnum.c:106: + * |<-------------- t --------------->|<- d ->| (after adjustment) WARNING: line length of 84 exceeds 80 columns #376: FILE: kernel/bpf/cnum_defs.h:80: + * If cnum represents a range crossing the ST_MAX/ST_MIN boundary, the unbound range WARNING: return of an errno should typically be negative (ie: return -EMPTY) #407: FILE: kernel/bpf/cnum_defs.h:111: + return EMPTY; WARNING: else is not generally useful after a break or return #434: FILE: kernel/bpf/cnum_defs.h:138: + return a.size <= b.size ? a : b; + } else { WARNING: return of an errno should typically be negative (ie: return -EMPTY) #474: FILE: kernel/bpf/cnum_defs.h:178: + return EMPTY; WARNING: return of an errno should typically be negative (ie: return -EMPTY) #488: FILE: kernel/bpf/cnum_defs.h:192: + return EMPTY; WARNING: line length of 90 exceeds 80 columns #492: FILE: kernel/bpf/cnum_defs.h:196: + return FN(normalize)((struct cnum_t){ a.base + b.base, a.size + b.size }); WARNING: return of an errno should typically be negative (ie: return -EMPTY) #498: FILE: kernel/bpf/cnum_defs.h:202: + return EMPTY; WARNING: line length of 81 exceeds 80 columns #499: FILE: kernel/bpf/cnum_defs.h:203: + return FN(normalize)((struct cnum_t){ -((utt)a.base + a.size), a.size }); WARNING: return of an errno should typically be negative (ie: return -EMPTY) #540: FILE: kernel/bpf/cnum_defs.h:244: + return EMPTY; WARNING: return of an errno should typically be negative (ie: return -EMPTY) #554: FILE: kernel/bpf/cnum_defs.h:258: + return EMPTY; WARNING: return of an errno should typically be negative (ie: return -EMPTY) #558: FILE: kernel/bpf/cnum_defs.h:262: + return EMPTY; WARNING: return of an errno should typically be negative (ie: return -EMPTY) #561: FILE: kernel/bpf/cnum_defs.h:265: + return EMPTY; WARNING: return of an errno should typically be negative (ie: return -EMPTY) #564: FILE: kernel/bpf/cnum_defs.h:268: + return EMPTY; WARNING: line length of 81 exceeds 80 columns #578: FILE: kernel/bpf/cnum_defs.h:282: + /* b in a's frame wraps past UT_MAX: must cover everything from a.base */ WARNING: line length of 94 exceeds 80 columns #582: FILE: kernel/bpf/cnum_defs.h:286: + return FN(normalize)((struct cnum_t){ a.base, max(a.size, (ut)(b1.base + b1.size)) }); WARNING: line length of 81 exceeds 80 columns #607: FILE: kernel/bpf/cnum_defs.h:311: + /* Seed dzone with all wrapping arcs (crossing the UT_MAX/0 boundary). */ CHECK: Unnecessary parentheses around 'cnum[i]' #609: FILE: kernel/bpf/cnum_defs.h:313: + if (FN(urange_overflow)(cnum[i])) WARNING: line length of 85 exceeds 80 columns #681: FILE: kernel/bpf/cnum_defs.h:385: + u = FN(mk_mul_u)(a.base, b.base, (utt)a.base + a.size, (utt)b.base + b.size); WARNING: return of an errno should typically be negative (ie: return -EMPTY) #702: FILE: kernel/bpf/cnum_defs.h:406: + return EMPTY; CHECK: spaces preferred around that '-' (ctx:VxV) #712: FILE: kernel/bpf/cnum_defs.h:416: + for (j = i; j > 0 && cr[j].base < cr[j-1].base; j--) ^ CHECK: spaces preferred around that '-' (ctx:VxV) #713: FILE: kernel/bpf/cnum_defs.h:417: + swap(cr[j], cr[j-1]); ^ total: 0 errors, 32 warnings, 3 checks, 630 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 74ce10f4cac1 ("bpf: representation and basic operations on circular numbers") 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, 32 warnings, 3 checks, 630 lines checked