CHECK: Comparison to NULL could be written "!sk" #61: FILE: net/rose/af_rose.c:1063: + if (sk == NULL) ERROR: do not use assignment in if condition #64: FILE: net/rose/af_rose.c:1066: + if (sk_acceptq_is_full(sk) || total: 1 errors, 0 warnings, 1 checks, 52 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 7b6478a24be3 ("net/rose: hold listener socket during call request handling") 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.