Skip to content

Commit

Permalink
crypto: tcrypt - Drop module name from print string
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
refactorman authored and herbertx committed Nov 4, 2022
1 parent 837a99f commit a2ef563
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crypto/tcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -1329,8 +1329,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;
}

Expand Down

0 comments on commit a2ef563

Please sign in to comment.