Linux/linux cd734d5drivers/ptp ptp_chardev.c, include/uapi/linux ptp_clock.h

ptp: Validate requests to enable time stamping of external signals.

Commit 415606588c61 ("PTP: introduce new versions of IOCTLs")
introduced a new external time stamp ioctl that validates the flags.
This patch extends the validation to ensure that at least one rising
or falling edge flag is set when enabling external time stamps.

Signed-off-by: Richard Cochran <richardcochran at gmail.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+13-5drivers/ptp/ptp_chardev.c
+1-0include/uapi/linux/ptp_clock.h
+14-52 files

UnifiedSplitRaw