]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
swiotlb: clean up reporting
authorKees Cook <keescook@chromium.org>
Mon, 10 Dec 2018 18:14:58 +0000 (18:14 +0000)
committerSultan Alsawaf <sultan.alsawaf@canonical.com>
Wed, 24 Jul 2019 15:45:04 +0000 (09:45 -0600)
commite2dd7434933f16c81bc1afa3f65b314ac31fd85c
tree631e2846d25e2246cb27c73b9389f1a98aa9ce10
parentdf7537831549a5a554cd218d240eb2bb3fddaffb
swiotlb: clean up reporting

BugLink: https://bugs.launchpad.net/bugs/1837161
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.14:
 - Adjust filename
 - Remove "swiotlb: " prefix from an additional log message]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
lib/swiotlb.c