Skip to content
Commit 652a6a2e authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Vinod Koul
Browse files

phy: ralink: phy-mt7621-pci: properly print pointer address



The way of printing the pointer address for the 'port_base'
address got into compile warnings on some architectures
[-Wpointer-to-int-cast]. Instead of use '%08x' and cast
to an 'unsigned int' just make use of '%px' and avoid the
cast. To avoid not really needed driver verbosity on normal
behaviour change also from 'dev_info' to 'dev_dbg'.

Fixes: d87da323 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210508070930.5290-7-sergio.paracuellos@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 6eded551
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment