[PATCH] trank/rtdm: Add rt_dev_recvfrom() compat wrapper

Jan Kiszka jan.kiszka at siemens.com
Mon Aug 19 13:48:31 CEST 2019


On 18.08.19 16:26, Tormod Volden via Xenomai wrote:
> From: Tormod Volden <debian.tormod at gmail.com>
> 
> Signed-off-by: Tormod Volden <debian.tormod at gmail.com>
> ---
> 
> 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(+)
> 
> diff --git a/include/trank/rtdm/rtdm.h b/include/trank/rtdm/rtdm.h
> index 9a0c965..80d874a 100644
> --- a/include/trank/rtdm/rtdm.h
> +++ b/include/trank/rtdm/rtdm.h
> @@ -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

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



More information about the Xenomai mailing list