pkarashchenko commented on code in PR #6708:
URL: https://github.com/apache/incubator-nuttx/pull/6708#discussion_r929705036
##########
include/nuttx/sensors/sensor.h:
##########
@@ -899,6 +958,14 @@ struct sensor_reginfo_s
};
#endif
+/* This structure describes the context custom ioctl for device */
+
+struct sensor_ioctl_s
+{
+ size_t len; /* The length of argument of ioctl */
+ char data[0]; /* The argument buf of ioctl */
Review Comment:
This is C89 incompatible.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]