trank/rtdm: Add rt_dev_recvfrom() compat wrapper
PATCH 1/1 trank/rtdm: Add rt_dev_recvfrom() compat wrapper
From: Tormod Volden <[email protected]>
Signed-off-by Tormod Volden <[email protected]>
---
I assume this one just fell through the cracks during a reorganization.
Should be safe for 3.0.x too.
Regards,
Tormod
include/trank/rtdm/rtdm.h | 1 + 1 file changed, 1 insertion(+)
include/trank/rtdm/rtdm.h +1 -0
@@ -35,6 +35,7 @@ extern "C" { #define rt_dev_open(__args...) rt_dev_call(open, __args) #define rt_dev_ioctl(__args...) rt_dev_call(ioctl, __args) +#define rt_dev_recvfrom(__args...) rt_dev_call(recvfrom, __args)static inline int rt_dev_socket (int domain,int type,int protocol) {
Signature · 1 line
2.7.4
Quoted 22 lines · Tormod Volden via Xenomai
From: Tormod Volden <[email protected]>
Signed-off-by Tormod Volden <[email protected]>---
I assume this one just fell through the cracks during a reorganization.
Should be safe for 3.0.x too.
Regards,
Tormodinclude/trank/rtdm/rtdm.h | 1 + 1 file changed, 1 insertion(+)include/trank/rtdm/rtdm.h +0
-0
include/trank/rtdm/rtdm.h extern "C" { · line 41
Quoted 7 lines
include/trank/rtdm/rtdm.h +1
-0@@ -35,6 +35,7 @@ extern "C" { #define rt_dev_open(__args...) rt_dev_call(open, __args) #define rt_dev_ioctl(__args...) rt_dev_call(ioctl, __args) +#define rt_dev_recvfrom(__args...) rt_dev_call(recvfrom, __args)static inline int rt_dev_socket (int domain,int type,int protocol) {
Ack.
Signature · 1 line
Philippe.
Jan Kiszka
AppliedQuoted 22 lines · Tormod Volden via Xenomai
From: Tormod Volden <[email protected]>
Signed-off-by Tormod Volden <[email protected]>---
I assume this one just fell through the cracks during a reorganization.
Should be safe for 3.0.x too.
Regards,
Tormodinclude/trank/rtdm/rtdm.h | 1 + 1 file changed, 1 insertion(+)include/trank/rtdm/rtdm.h +0
-0
include/trank/rtdm/rtdm.h extern "C" { · line 41
Quoted 7 lines
include/trank/rtdm/rtdm.h +1
-0@@ -35,6 +35,7 @@ extern "C" { #define rt_dev_open(__args...) rt_dev_call(open, __args) #define rt_dev_ioctl(__args...) rt_dev_call(ioctl, __args) +#define rt_dev_recvfrom(__args...) rt_dev_call(recvfrom, __args)static inline int rt_dev_socket (int domain,int type,int protocol) {
Thanks, applied to next and stable.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux