[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG9sBKOtYKov3S3N1WS+D_71mgPV0Rh+StMHOtwcwE-HteDp9A@mail.gmail.com>
Date: Thu, 25 Aug 2016 17:00:49 +0300
From: Moni Shoua <monis@...lanox.com>
To: Mikko Rapeli <mikko.rapeli@....fi>
Cc: linux-kernel@...r.kernel.org, Doug Ledford <dledford@...hat.com>,
Sean Hefty <sean.hefty@...el.com>,
Hal Rosenstock <hal.rosenstock@...il.com>,
linux-rdma <linux-rdma@...r.kernel.org>
Subject: Re: [PATCH v05 61/72] include/uapi/rdma/rdma_user_rxe.h: include in.h
and in6.h
Acked-by: Moni Shoua <monis@...lanox.com>
On Mon, Aug 22, 2016 at 9:33 PM, Mikko Rapeli <mikko.rapeli@....fi> wrote:
> Fixes these userspace compilation errors when rdma_user_rxe.h is compiled
> alone:
>
> rdma/rdma_user_rxe.h:59:20: error: field ‘_sockaddr’ has incomplete type
> struct sockaddr _sockaddr;
> ^~~~~~~~~
> rdma/rdma_user_rxe.h:60:22: error: field ‘_sockaddr_in’ has incomplete type
> struct sockaddr_in _sockaddr_in;
> ^~~~~~~~~~~~
> rdma/rdma_user_rxe.h:61:23: error: field ‘_sockaddr_in6’ has incomplete type
> struct sockaddr_in6 _sockaddr_in6;
> ^~~~~~~~~~~~~
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@....fi>
> ---
> include/uapi/rdma/rdma_user_rxe.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h
> index 1de99cf..ce6c929 100644
> --- a/include/uapi/rdma/rdma_user_rxe.h
> +++ b/include/uapi/rdma/rdma_user_rxe.h
> @@ -34,6 +34,8 @@
> #define RDMA_USER_RXE_H
>
> #include <linux/types.h>
> +#include <linux/in.h>
> +#include <linux/in6.h>
>
> union rxe_gid {
> __u8 raw[16];
> --
> 2.8.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists