Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Cc: Jacob Keller <[email protected]> Signed-off-by: Miroslav Lichvar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information