linux/drivers/phy/ralink
Sergio Paracuellos b25bc3e21b phy: ralink: phy-mt7621-pci: properly print pointer address
[ Upstream commit 652a6a2e38 ]

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: d87da32372 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210508070930.5290-7-sergio.paracuellos@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2021-07-14 17:07:26 +02:00
..
Kconfig phy: ralink: phy-mt7621-pci: drop 'COMPILE_TEST' from Kconfig 2020-12-01 17:14:41 +05:30
Makefile phy: ralink: Add PHY driver for MT7621 PCIe PHY 2020-11-30 16:18:24 +05:30
phy-mt7621-pci.c phy: ralink: phy-mt7621-pci: properly print pointer address 2021-07-14 17:07:26 +02:00
phy-ralink-usb.c phy: phy-ralink-usb: convert to devm_platform_ioremap_resource 2020-11-16 12:47:47 +05:30