]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerHelge Deller <deller@gmx.de>
Tue, 14 Jan 2020 08:17:59 +0000 (09:17 +0100)
commit65aa136f956b1694cc4138881b94e19ca5630931
tree13b8d74c9003989d962974426f05b01cdfe920c7
parente7a57b071ab8244fee3e9bbbba987019ae618612
parisc: Use proper printk format for resource_size_t

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>
arch/parisc/kernel/drivers.c