diff options
author | Miroslav Lichvar <mlichvar@redhat.com> | 2018-11-09 13:14:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-10 06:43:50 +0300 |
commit | 83d0bdc7390b890905634186baaa294475cd6a06 (patch) | |
tree | e23b2f510dd3c51e39efc06c3e74fd43da9b9f17 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fbb960ac26172215b8dc6635eac13c3a0739d6ed (diff) | |
download | linux-83d0bdc7390b890905634186baaa294475cd6a06.tar.xz |
ptp: check gettime64 return code in PTP_SYS_OFFSET ioctl
If a gettime64 call fails, return the error and avoid copying data back
to user.
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions