]> Gentwo Git Trees - linux/.git/commit
staging: gpib: fix prefixing 0x with decimal output
authorAjith P V <ajithpv.linux@gmail.com>
Tue, 14 Jan 2025 12:16:56 +0000 (17:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2025 17:37:40 +0000 (18:37 +0100)
commitd3fbbfa925c25d4d4453236173fb459ae2990265
tree26af72a5ce2213a39a81b6fa146ca7d59af0962d
parent3e2bcc16804b584bb2a2a8538a40fd3307305816
staging: gpib: fix prefixing 0x with decimal output

* pr_err() of request_region() in cb7210 uses 0x%u which is defective.
* 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/20250114121656.30577-1-ajithpv.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gpib/cb7210/cb7210.c