summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2023-01-18 13:28:21 +0300
committerJakub Kicinski <kuba@kernel.org>2023-01-19 18:57:16 -0800
commita76e88c2942575bc43ea88d0f05d245b26859130 (patch)
treeecb85181fb789ac7cf59787cfc9bc1438fdb53c7 /tools/perf/scripts/python/exported-sql-viewer.py
parent482acbd68ea391b7a4033c90a50b9cf680afbe93 (diff)
net: dsa: microchip: ptp: Fix error code in ksz_hwtstamp_set()
We want to return negative error codes here but the copy_to/from_user() functions return the number of bytes remaining to be copied. Fixes: c59e12a140fb ("net: dsa: microchip: ptp: Initial hardware time stamping support") Signed-off-by: Dan Carpenter <error27@gmail.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Link: https://lore.kernel.org/r/Y8fJxSvbl7UNVHh/@kili Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions