OSDN Git Service

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)
commit415606588c61230b7b4f0118fc2d64a0c1c4d102
treea9b65dc916b2015c401c8095cfe6949cf08c86e9
parent6cd476d26bf50f87cce33c76c282d6bdb208d840
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