]> git.baikalelectronics.ru Git - kernel.git/commit
PTP: introduce new versions of IOCTLs
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 11 Sep 2019 06:16:21 +0000 (09:16 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Sep 2019 13:57:02 +0000 (15:57 +0200)
commit0ce00852ae622ae57190ebd44a340e22442be770
treea9b65dc916b2015c401c8095cfe6949cf08c86e9
parente3c2d48df270f7983c081f6ea7feced7d179a45e
PTP: introduce new versions of IOCTLs

The current version of the IOCTL have a small problem which prevents us
from extending the API by making use of reserved fields. In these new
IOCTLs, we are now making sure that flags and rsv fields are zero which
will allow us to extend the API in the future.

Reviewed-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_chardev.c
include/uapi/linux/ptp_clock.h