[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <65dc4fe6-5363-3456-994e-166cb77a90cd@oracle.com>
Date: Fri, 24 Aug 2018 20:03:47 -0700
From: "santosh.shilimkar@...cle.com" <santosh.shilimkar@...cle.com>
To: Vinson Lee <vlee@...edesktop.org>,
"David S. Miller" <davem@...emloft.net>,
Sowmini Varadhan <sowmini.varadhan@...cle.com>,
Willem de Bruijn <willemb@...gle.com>,
Kate Stewart <kstewart@...uxfoundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jason Gunthorpe <jgg@...pe.ca>,
Ka-Cheong Poon <ka-cheong.poon@...cle.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] uapi: Fix linux/rds.h userspace compilation errors.
On 8/24/18 6:26 PM, Vinson Lee wrote:
> Include linux/in6.h for struct in6_addr.
>
> /usr/include/linux/rds.h:156:18: error: field ‘laddr’ has incomplete type
> struct in6_addr laddr;
> ^~~~~
> /usr/include/linux/rds.h:157:18: error: field ‘faddr’ has incomplete type
> struct in6_addr faddr;
> ^~~~~
> /usr/include/linux/rds.h:178:18: error: field ‘laddr’ has incomplete type
> struct in6_addr laddr;
> ^~~~~
> /usr/include/linux/rds.h:179:18: error: field ‘faddr’ has incomplete type
> struct in6_addr faddr;
> ^~~~~
> /usr/include/linux/rds.h:198:18: error: field ‘bound_addr’ has incomplete type
> struct in6_addr bound_addr;
> ^~~~~~~~~~
> /usr/include/linux/rds.h:199:18: error: field ‘connected_addr’ has incomplete type
> struct in6_addr connected_addr;
> ^~~~~~~~~~~~~~
> /usr/include/linux/rds.h:219:18: error: field ‘local_addr’ has incomplete type
> struct in6_addr local_addr;
> ^~~~~~~~~~
> /usr/include/linux/rds.h:221:18: error: field ‘peer_addr’ has incomplete type
> struct in6_addr peer_addr;
> ^~~~~~~~~
> /usr/include/linux/rds.h:245:18: error: field ‘src_addr’ has incomplete type
> struct in6_addr src_addr;
> ^~~~~~~~
> /usr/include/linux/rds.h:246:18: error: field ‘dst_addr’ has incomplete type
> struct in6_addr dst_addr;
> ^~~~~~~~
>
> Fixes: b7ff8b1036f0 ("rds: Extend RDS API for IPv6 support")
> Signed-off-by: Vinson Lee <vlee@...edesktop.org>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar@...cle.com>
Powered by blists - more mailing lists