aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSergio Paracuellos <[email protected]>2021-05-08 09:09:30 +0200
committerVinod Koul <[email protected]>2021-05-14 16:16:29 +0530
commit652a6a2e3824ce2ebf79a2d5326940d05c4db036 (patch)
tree9a63229b5abf507ac1602cc2c019497015134a8d /tools/perf/scripts/python
parent6eded551cefe3ef6e2b3ff76b6a77a2ecd4fa20a (diff)
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: d87da32372a0 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY") Reported-by: kernel test robot <[email protected]> Signed-off-by: Sergio Paracuellos <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions