commit | d41d78cc1245f64fa2eaf728d6c3c26b7f25aadb | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Aug 07 18:44:12 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Aug 11 12:22:15 2019 +0200 |
tree | 2b5a61b8a257294aeca06baebe5f62f593abaa60 | |
parent | 7d5750c0edfe886dbdee189f0c86e95c68147781 [diff] |
IB: directly cast the sockaddr union to aockaddr Like commit 641114d2af31 ("RDMA: Directly cast the sockaddr union to sockaddr") we need to quiet gcc 9 from warning about this crazy union. That commit did not fix all of the warnings in 4.19 and older kernels because the logic in roce_resolve_route_from_path() was rewritten between 4.19 and 5.2 when that change happened. Cc: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>