]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: gpib: fix prefixing 0x with decimal output
authorAjith P V <ajithpv.linux@gmail.com>
Wed, 22 Jan 2025 07:55:44 +0000 (13:25 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Feb 2025 15:08:20 +0000 (16:08 +0100)
commitcd45f6ef14b7140b77d28b38b9f0a7f7d93ed52b
tree96211795f6382464af5f886290b4eedab444bc7e
parent76d54fd5471b10ee993c217928a39d7351eaff5c
staging: gpib: fix prefixing 0x with decimal output

- pr_err() of pc2a_common_attach() in pc2_gpib uses 0x%d.
- The config->ibbase is of u32 and correct prefix is 0x%x.
- This error reported by checkpatch with below message:
  ERROR: Prefixing 0x with decimal output is defective

Signed-off-by: Ajith P V <ajithpv.linux@gmail.com>
Link: https://lore.kernel.org/r/20250122075545.33146-1-ajithpv.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/pc2/pc2_gpib.c