Skip to contentSkip to conversation

trank/rtdm: Add rt_dev_recvfrom() compat wrapper

PATCH Applied Tormod Volden 3 participants 3 messages Aug 18, 2019 – Aug 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 trank/rtdm: Add rt_dev_recvfrom() compat wrapper

From: 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
index 9a0c965..80d874a 100644
@@ -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
#1 lore raw
Quoted 22 lines · Tormod Volden via Xenomai

From: 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 +0 -0
index 9a0c965..80d874a 100644

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.
Applied
#2 lore raw
In reply to Tormod Volden
Quoted 22 lines · Tormod Volden via Xenomai

From: 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 +0 -0
index 9a0c965..80d874a 100644

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