]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
staging: gpib: Fix pr_err format warning
authorDave Penkler <dpenkler@gmail.com>
Fri, 24 Jan 2025 10:58:58 +0000 (11:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Feb 2025 15:09:06 +0000 (16:09 +0100)
commit03ec050c437bb4e7c5d215bbeedaa93932f13b35
treebd407a446d96b1172fdfebe8d594ae867ba16e3a
parent8418753187ba216f8931432dd8a6ee2f23977ecd
staging: gpib: Fix pr_err format warning

This patch fixes the following compile warning:

drivers/staging/gpib/hp_82341/hp_82341.c: In function 'hp_82341_attach':
./include/linux/kern_levels.h:5:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 2 has type 'u32' {aka 'unsigned int'} [-Wformat=]

It was introduced in

commit baf8855c9160 ("staging: gpib: fix address space mixup")

but was not detected as the build of the driver depended on BROKEN.

Fixes: baf8855c9160 ("staging: gpib: fix address space mixup")
Signed-off-by: Dave Penkler <dpenkler@gmail.com>
Link: https://lore.kernel.org/r/20250124105900.27592-2-dpenkler@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/hp_82341/hp_82341.c