]> git.ipfire.org Git - thirdparty/linux.git/commit
irqchip/irq-pic32-evic: Address warning related to wrong printf() formatter
authorBrian Masney <bmasney@redhat.com>
Sun, 22 Feb 2026 23:43:44 +0000 (18:43 -0500)
committerThomas Gleixner <tglx@kernel.org>
Tue, 24 Feb 2026 07:15:43 +0000 (08:15 +0100)
commit86be659415b0ddefebc3120e309091aa215a9064
treead1bb3669e0f17c4a91817d4760c115054134e90
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
irqchip/irq-pic32-evic: Address warning related to wrong printf() formatter

This driver is currently only build on 32 bit MIPS systems. When building
it on x86_64, the following warning occurs:

    drivers/irqchip/irq-pic32-evic.c: In function ‘pic32_ext_irq_of_init’:
    ./include/linux/kern_levels.h:5:25: error: format ‘%d’ expects argument of type
     ‘int’, but argument 2 has type ‘long unsigned int’ [-Werror=format=]

Update the printf() formatter in preparation for allowing this driver to
be compiled on all architectures.

Fixes: aaa8666ada780 ("IRQCHIP: irq-pic32-evic: Add support for PIC32 interrupt controller")
Signed-off-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260222-irqchip-pic32-v1-1-37f50d1f14af@redhat.com
drivers/irqchip/irq-pic32-evic.c