]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
swiotlb: clean up reporting
authorKees Cook <keescook@chromium.org>
Tue, 10 Jul 2018 23:22:22 +0000 (16:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 20:55:16 +0000 (21:55 +0100)
commitc873dfa0ccbdb08e9fb42f497503e148f79cdebb
treeaa340e81b1c3fbe5120a4236a1e411dd82bbfc96
parent0d547583faaa4371ec566bdd38488b1eba5e8a2d
swiotlb: clean up reporting

commit 7d63fb3af87aa67aa7d24466e792f9d7c57d8e79 upstream.

This removes needless use of '%p', and refactors the printk calls to
use pr_*() helpers instead.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
[bwh: Backported to 4.4:
 - Adjust filename
 - Remove "swiotlb: " prefix from an additional log message]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/swiotlb.c