WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #19: new file mode 100644 WARNING: line length of 84 exceeds 80 columns #128: FILE: net/homa/homa_sock.c:105: + rcu_dereference(hlist_next_rcu(&links->hash_links)); WARNING: please, no space before tabs #700: FILE: net/homa/homa_sock.h:291: +// ^I__acquires(&hsk->lock)$ WARNING: please, no space before tabs #702: FILE: net/homa/homa_sock.h:293: +// ^Iif (!spin_trylock_bh(&hsk->lock)) {$ WARNING: please, no space before tabs #705: FILE: net/homa/homa_sock.h:296: +// ^I^Ihoma_sock_lock_slow(hsk);$ WARNING: please, no space before tabs #706: FILE: net/homa/homa_sock.h:297: +// ^I}$ WARNING: Argument 'locker' is not used in function-like macro #710: FILE: net/homa/homa_sock.h:301: +#define homa_sock_lock(hsk, locker) do { \ + struct homa_sock *_hsk = hsk; \ + if (!spin_trylock_bh(&_hsk->lock)) \ + homa_sock_lock_slow(_hsk); \ +} while (0) WARNING: line length of 83 exceeds 80 columns #750: FILE: net/homa/homa_sock.h:341: +static inline struct homa_rpc_bucket *homa_client_rpc_bucket(struct homa_sock *hsk, WARNING: line length of 83 exceeds 80 columns #768: FILE: net/homa/homa_sock.h:359: +static inline struct homa_rpc_bucket *homa_server_rpc_bucket(struct homa_sock *hsk, WARNING: please, no space before tabs #788: FILE: net/homa/homa_sock.h:379: +// ^I^I^I^I __u64 id, const char *locker)$ WARNING: please, no space before tabs #790: FILE: net/homa/homa_sock.h:381: +// ^Iif (!spin_trylock_bh(&bucket->lock))$ WARNING: please, no space before tabs #791: FILE: net/homa/homa_sock.h:382: +// ^I^Ihoma_bucket_lock_slow(bucket, id);$ WARNING: Argument 'locker' is not used in function-like macro #793: FILE: net/homa/homa_sock.h:384: +#define homa_bucket_lock(bucket, id, locker) do { \ + struct homa_rpc_bucket *_bucket = bucket; \ + if (!spin_trylock_bh(&_bucket->lock)) \ + homa_bucket_lock_slow(_bucket, id); \ +} while (0) WARNING: please, no space before tabs #810: FILE: net/homa/homa_sock.h:401: +// ^I^I^I^I __u64 id, const char *locker)$ WARNING: please, no space before tabs #812: FILE: net/homa/homa_sock.h:403: +// ^Iif (!spin_trylock_bh(&bucket->lock))$ WARNING: please, no space before tabs #813: FILE: net/homa/homa_sock.h:404: +// ^I^Ireturn 0;$ WARNING: please, no space before tabs #814: FILE: net/homa/homa_sock.h:405: +// ^Ireturn 1;$ WARNING: Argument 'id' is not used in function-like macro #816: FILE: net/homa/homa_sock.h:407: +#define homa_bucket_try_lock(bucket, id, locker) \ + spin_trylock_bh(&(bucket)->lock) WARNING: Argument 'locker' is not used in function-like macro #816: FILE: net/homa/homa_sock.h:407: +#define homa_bucket_try_lock(bucket, id, locker) \ + spin_trylock_bh(&(bucket)->lock) total: 0 errors, 19 warnings, 0 checks, 806 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 54487010acd2 ("net: homa: create homa_sock.h and homa_sock.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, 19 warnings, 0 checks, 806 lines checked