On Thu, Sep 26, 2019 at 11:11:04AM -0700, Jacob Keller wrote: > Commit 823eb2a3c4c7 ("PTP: add support for one-shot output") introduced > a new flag for the PTP periodic output request ioctl. This flag is not > currently supported by any driver. > > Fix all drivers which implement the periodic output request ioctl to > explicitly reject any request with flags they do not understand. This > ensures that the driver does not accidentally misinterpret the > PTP_PEROUT_ONE_SHOT flag, or any new flag introduced in the future. > > This is important for forward compatibility: if a new flag is > introduced, the driver should reject requests to enable the flag until > the driver has actually been modified to support the flag in question. > > Cc: Richard Cochran <richardcoch...@gmail.com> > Cc: Felipe Balbi <felipe.ba...@linux.intel.com> > Cc: David S. Miller <da...@davemloft.net> > Cc: Christopher Hall <christopher.s.h...@intel.com> > Signed-off-by: Jacob Keller <jacob.e.kel...@intel.com>
Reviewed-by: Richard Cochran <richardcoch...@gmail.com>