diff options
author | Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> | 2022-10-26 12:16:14 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-11-04 17:33:22 +0800 |
commit | 837a99f59043c3505d69761575172da1d09220b5 (patch) | |
tree | 285adef0a15f6cdd5806a67254f193a2a74fd68d /scripts/cleanfile | |
parent | fdaeb224e2bf747942653e4f70226fcfe60fbf73 (diff) | |
download | linux-837a99f59043c3505d69761575172da1d09220b5.tar.bz2 |
crypto: tcrypt - Use pr_info/pr_err
Currently, there's mixed use of printk() and pr_info()/pr_err(). The latter
prints the module name (because pr_fmt() is defined so) but the former does
not. As a result there's inconsistency in the printed output. For example:
modprobe mode=211:
[...] test 0 (160 bit key, 16 byte blocks): 1 operation in 2320 cycles (16 bytes)
[...] test 1 (160 bit key, 64 byte blocks): 1 operation in 2336 cycles (64 bytes)
modprobe mode=215:
[...] tcrypt: test 0 (160 bit key, 16 byte blocks): 1 operation in 2173 cycles (16 bytes)
[...] tcrypt: test 1 (160 bit key, 64 byte blocks): 1 operation in 2241 cycles (64 bytes)
Replace all instances of printk() with pr_info()/pr_err() so that the
module name is printed consistently.
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions