]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vdpa/octeon_ep: Fix format specifier for pointers in debug messages
authorSrujana Challa <schalla@marvell.com>
Mon, 16 Sep 2024 16:22:55 +0000 (21:52 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Sep 2024 11:07:44 +0000 (07:07 -0400)
commitbc0dcbc5c2c539f37004f2cce0e6e245b2e50b6c
tree67a752827f8b87c664378b3c50aeaf4ef7443759
parentefcd71af38be403fa52223092f79ada446e121ba
vdpa/octeon_ep: Fix format specifier for pointers in debug messages

Updates the debug messages in octep_vdpa_hw.c to use the %p format
specifier for pointers instead of casting them to u64.

Fixes smatch warning:
octep_hw_caps_read() warn: argument 3 to %016llx specifier is cast
from pointer

Fixes: 8b6c724cdab8 ("virtio: vdpa: vDPA driver for Marvell OCTEON DPU devices")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202409160431.bRhZWhiU-lkp@intel.com/
Signed-off-by: Srujana Challa <schalla@marvell.com>
Message-Id: <20240916162255.677774-1-schalla@marvell.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/octeon_ep/octep_vdpa_hw.c