WARNING: please write a help paragraph that fully describes the config symbol #43: FILE: crypto/krb5/Kconfig:19: +config CRYPTO_KRB5_SELFTESTS + bool "Kerberos 5 crypto selftests" + depends on CRYPTO_KRB5 + help + Turn on some self-testing for the kerberos 5 crypto functions. These + will be performed on module load or boot, if compiled in. WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #145: new file mode 100644 WARNING: Consider removing the code enclosed by this #if 0 and its #endif #188: FILE: crypto/krb5/selftest.c:39: +#if 0 WARNING: line length of 81 exceeds 80 columns #201: FILE: crypto/krb5/selftest.c:52: + pr_notice("[%x] %04x: %*phN\n", n, index, part, p + off); WARNING: Macros with flow control statements should be avoided #221: FILE: crypto/krb5/selftest.c:72: +#define PREP_BUF(BUF, LEN) \ + do { \ + (BUF)->len = (LEN); \ + ret = prep_buf((BUF)); \ + if (ret < 0) \ + goto out; \ + } while (0) WARNING: line length of 94 exceeds 80 columns #254: FILE: crypto/krb5/selftest.c:105: +#define LOAD_BUF(BUF, FROM) do { ret = load_buf(BUF, FROM); if (ret < 0) goto out; } while (0) WARNING: Macros with flow control statements should be avoided #254: FILE: crypto/krb5/selftest.c:105: +#define LOAD_BUF(BUF, FROM) do { ret = load_buf(BUF, FROM); if (ret < 0) goto out; } while (0) WARNING: line length of 85 exceeds 80 columns #325: FILE: crypto/krb5/selftest.c:176: + ret = krb5_derive_Kc(krb5, base_key, test->use, &result, GFP_KERNEL); WARNING: line length of 85 exceeds 80 columns #328: FILE: crypto/krb5/selftest.c:179: + ret = krb5_derive_Ke(krb5, base_key, test->use, &result, GFP_KERNEL); WARNING: line length of 85 exceeds 80 columns #331: FILE: crypto/krb5/selftest.c:182: + ret = krb5_derive_Ki(krb5, base_key, test->use, &result, GFP_KERNEL); WARNING: line length of 90 exceeds 80 columns #414: FILE: crypto/krb5/selftest.c:265: + ret = krb5->profile->load_encrypt_keys(krb5, &Ke, &Ki, &keys, GFP_KERNEL); WARNING: line length of 86 exceeds 80 columns #428: FILE: crypto/krb5/selftest.c:279: + pr_warn("Encrypted length mismatch %zu != %u\n", message_len, ct.len); WARNING: line length of 83 exceeds 80 columns #432: FILE: crypto/krb5/selftest.c:283: + pr_warn("Data offset mismatch %zu != %u\n", data_offset, conf.len); WARNING: line length of 88 exceeds 80 columns #441: FILE: crypto/krb5/selftest.c:292: + ci = crypto_krb5_prepare_encryption(krb5, &K0, test->usage, GFP_KERNEL); WARNING: line length of 86 exceeds 80 columns #463: FILE: crypto/krb5/selftest.c:314: + pr_warn("Encrypted message wrong size %x != %zx\n", ret, message_len); WARNING: line length of 88 exceeds 80 columns #472: FILE: crypto/krb5/selftest.c:323: + pr_warn("PT %*phN%*phN\n", conf.len, conf.data, plain.len, plain.data); WARNING: line length of 86 exceeds 80 columns #544: FILE: crypto/krb5/selftest.c:395: + ci = crypto_krb5_prepare_checksum(krb5, &K0, test->usage, GFP_KERNEL); WARNING: line length of 85 exceeds 80 columns #548: FILE: crypto/krb5/selftest.c:399: + ret = krb5->profile->load_checksum_key(krb5, &Kc, &keys, GFP_KERNEL); WARNING: line length of 85 exceeds 80 columns #590: FILE: crypto/krb5/selftest.c:441: + pr_warn("MIC length mismatch %zu != %u\n", len, plain.len + mic.len); total: 0 errors, 19 warnings, 0 checks, 671 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 5137c96af37d ("crypto/krb5: Implement crypto self-testing") 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, 671 lines checked