History

ptp: uapi: change _IOW to IOWR in PTP_SYS_OFFSET_EXTENDED definition

The ioctl command is read/write (or just read, if the fact that user space writes n_samples field is ignored).

Eugene Syromiatnikov committed 7 years ago

Commit b7ea4891 parent 895ac131 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/ptp_clock.h+1−1
@@ -147,7 +147,7 @@ struct ptp_pin_desc { · 146 unmodified lines
147147 #define PTP_SYS_OFFSET_PRECISE \
148148 _IOWR(PTP_CLK_MAGIC, 8, struct ptp_sys_offset_precise)
149149 #define PTP_SYS_OFFSET_EXTENDED \
150− _IOW(PTP_CLK_MAGIC, 9, struct ptp_sys_offset_extended)
150+ _IOWR(PTP_CLK_MAGIC, 9, struct ptp_sys_offset_extended)
151151
152152 struct ptp_extts_event {
153153 struct ptp_clock_time t; /* Time event occured. */