diff options
| author | 2018-11-09 11:14:43 +0100 | |
|---|---|---|
| committer | 2018-11-09 19:43:50 -0800 | |
| commit | 83d0bdc7390b890905634186baaa294475cd6a06 (patch) | |
| tree | e23b2f510dd3c51e39efc06c3e74fd43da9b9f17 /include/uapi/linux/ptp_clock.h | |
| parent | ptp: reorder declarations in ptp_ioctl() (diff) | |
| download | linux-dev-83d0bdc7390b890905634186baaa294475cd6a06.tar.xz linux-dev-83d0bdc7390b890905634186baaa294475cd6a06.zip | |
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 'include/uapi/linux/ptp_clock.h')
0 files changed, 0 insertions, 0 deletions
