parisc: Use proper printk format for resource_size_t
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 3 Jan 2020 16:39:25 +0000 (17:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 14:43:45 +0000 (14:43 +0000)
commita618848babc37ebc6d11f6df57a17e71e2d6bc28
treecaba23a75447cc5eb454848d9bfe85a047ee910e
parent78c15b2405f5a9f71990b27e43edbc3c32afd5eb
parisc: Use proper printk format for resource_size_t

[ Upstream commit 4f80b70e1953cb846dbdd1ce72cb17333d4c8d11 ]

resource_size_t should be printed with its own size-independent format
to fix warnings when compiling on 64-bit platform (e.g. with
COMPILE_TEST):

    arch/parisc/kernel/drivers.c: In function 'print_parisc_device':
    arch/parisc/kernel/drivers.c:892:9: warning:
        format '%p' expects argument of type 'void *',
        but argument 4 has type 'resource_size_t {aka unsigned int}' [-Wformat=]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/parisc/kernel/drivers.c