diff options
| author | Jason Gunthorpe <[email protected]> | 2019-05-13 00:57:57 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2019-05-14 01:16:38 +0000 |
| commit | 641114d2af312d39ca9bbc2369d18a5823da51c6 (patch) | |
| tree | 201a6f271350522a37f38da975972f72e7a2a07e /lib/timerqueue.c | |
| parent | RDMA/ipoib: Allow user space differentiate between valid dev_port (diff) | |
| download | kernel-641114d2af312d39ca9bbc2369d18a5823da51c6.tar.gz kernel-641114d2af312d39ca9bbc2369d18a5823da51c6.zip | |
RDMA: Directly cast the sockaddr union to sockaddr
gcc 9 now does allocation size tracking and thinks that passing the member
of a union and then accessing beyond that member's bounds is an overflow.
Instead of using the union member, use the entire union with a cast to
get to the sockaddr. gcc will now know that the memory extends the full
size of the union.
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
