Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rpmsg: Add short description of the IOCTL defined in UAPI.

Add a description of the IOCTLs and provide information on the default
value of the source and destination addresses.

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/20210311140413.31725-4-arnaud.pouliquen@foss.st.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

authored by

Arnaud Pouliquen and committed by
Bjorn Andersson
809328b4 3093c3c7

+9 -2
+9 -2
include/uapi/linux/rpmsg.h
··· 14 14 /** 15 15 * struct rpmsg_endpoint_info - endpoint info representation 16 16 * @name: name of service 17 - * @src: local address 18 - * @dst: destination address 17 + * @src: local address. To set to RPMSG_ADDR_ANY if not used. 18 + * @dst: destination address. To set to RPMSG_ADDR_ANY if not used. 19 19 */ 20 20 struct rpmsg_endpoint_info { 21 21 char name[32]; ··· 23 23 __u32 dst; 24 24 }; 25 25 26 + /** 27 + * Instantiate a new rmpsg char device endpoint. 28 + */ 26 29 #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) 30 + 31 + /** 32 + * Destroy a rpmsg char device endpoint created by the RPMSG_CREATE_EPT_IOCTL. 33 + */ 27 34 #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) 28 35 29 36 #endif