resource: Replace printk(KERN_WARNING) by pr_warn(), printk() by pr_info()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 9 Nov 2022 15:56:17 +0000 (17:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2022 17:58:24 +0000 (18:58 +0100)
commit2a4e628570d42fcc13a94f1acf25e3cfeaec08f6
tree58cb0aa4dac1e1f14f955182540ead4a52dd535b
parentd4ad017d634561907ecdd1e467a28612b369ee00
resource: Replace printk(KERN_WARNING) by pr_warn(), printk() by pr_info()

Replace printk(KERN_WARNING) by pr_warn() and printk() by pr_info().

While at it, use %pa for the resource_size_t variables. With that,
for the sake of consistency, introduce a temporary variable for
the end address in iomem_map_sanity_check() like it's done in another
function in the same module.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
Link: https://lore.kernel.org/r/20221109155618.42276-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/resource.c