Message ID | 20221026001521.4222-4-anirudh.venkataramanan@intel.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Herbert Xu |
Headers | show |
Series | Printing improvements for tcrypt | expand |
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 511e9b4..35868d5 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1340,8 +1340,7 @@ static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, req = skcipher_request_alloc(tfm, GFP_KERNEL); if (!req) { - pr_err("tcrypt: skcipher: Failed to allocate request for %s\n", - algo); + pr_err("skcipher: Failed to allocate request for %s\n", algo); goto out; }
The pr_fmt() define includes KBUILD_MODNAME, and so there's no need for pr_err() to also print it. Drop module name from the print string. Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> --- crypto/tcrypt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)