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

rpmsg: Move RPMSG_ADDR_ANY in user API

As the RPMSG_ADDR_ANY is a valid src or dst address that can be set by
user applications, migrate its definition in user API.

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-3-arnaud.pouliquen@foss.st.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>

authored by

Arnaud Pouliquen and committed by
Bjorn Andersson
3093c3c7 60d7b22d

+3 -2
+1 -2
include/linux/rpmsg.h
··· 18 18 #include <linux/mutex.h> 19 19 #include <linux/poll.h> 20 20 #include <linux/rpmsg/byteorder.h> 21 - 22 - #define RPMSG_ADDR_ANY 0xFFFFFFFF 21 + #include <uapi/linux/rpmsg.h> 23 22 24 23 struct rpmsg_device; 25 24 struct rpmsg_endpoint;
+2
include/uapi/linux/rpmsg.h
··· 9 9 #include <linux/ioctl.h> 10 10 #include <linux/types.h> 11 11 12 + #define RPMSG_ADDR_ANY 0xFFFFFFFF 13 + 12 14 /** 13 15 * struct rpmsg_endpoint_info - endpoint info representation 14 16 * @name: name of service