]> 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)
commit9292cffbb6b9c581d7fd16fd07d86d935266db9c
treea9b65dc916b2015c401c8095cfe6949cf08c86e9
parentc0919345643178683bc7adc91d62d4236acb8fdf
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