]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: fix format string mismatch in ptp_sysfs.c
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 5 Jul 2021 09:46:17 +0000 (17:46 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jul 2021 17:10:41 +0000 (10:10 -0700)
commit5b65da0505d1382f5e21e4c3618b3f983291871e
tree589733e64d4e17fc9beb3d7500ac3e30d0c4e239
parent2184cac88fcaa005e59c27e78f30944bc860d7b4
ptp: fix format string mismatch in ptp_sysfs.c

Fix format string mismatch in ptp_sysfs.c. Use %u for unsigned int.

Fixes: 63349b2f3b14 ("ptp: support ptp physical/virtual clocks conversion")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_sysfs.c