diff options
author | 2020-11-24 21:58:35 -0500 | |
---|---|---|
committer | 2020-11-25 17:24:49 -0800 | |
commit | 3cb2e6d92be637b79d6ba0746d610a8dfcc0400b (patch) | |
tree | 83bc29b5ac7183aab28c2423a5dbf925d34e008d /drivers/usb/cdns3/cdns3-imx.c | |
parent | enetc: Let the hardware auto-advance the taprio base-time of 0 (diff) | |
download | linux-dev-3cb2e6d92be637b79d6ba0746d610a8dfcc0400b.tar.xz linux-dev-3cb2e6d92be637b79d6ba0746d610a8dfcc0400b.zip |
ptp: clockmatrix: bug fix for idtcm_strverscmp
Feed kstrtou8 with NULL terminated string.
Changes since v1:
-Use sscanf to get rid of adhoc string parse.
Changes since v2:
-Check if sscanf returns 3.
Fixes: 7ea5fda2b132 ("ptp: ptp_clockmatrix: update to support 4.8.7 firmware")
Signed-off-by: Min Li <min.li.xe@renesas.com>
Link: https://lore.kernel.org/r/1606273115-25792-1-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions