diff options
| author | Andrew Morton <[email protected]> | 2018-03-13 14:51:57 -0700 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-03-14 18:14:08 -0400 |
| commit | 6ee687735e745eafae9e6b93d1ea70bc52e7ad07 (patch) | |
| tree | 4a51380ca6642b25258475b9ec3c064d6f4ac7eb /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 43c9fc509fa59d602f9c303d02b33db015022881 (diff) | |
drivers/infiniband/core/verbs.c: fix build with gcc-4.4.4
gcc-4.4.4 has issues with initialization of anonymous unions.
drivers/infiniband/core/verbs.c: In function '__ib_drain_sq':
drivers/infiniband/core/verbs.c:2204: error: unknown field 'wr_cqe' specified in initializer
drivers/infiniband/core/verbs.c:2204: warning: initialization makes integer from pointer without a cast
Work around this.
Fixes: a1ae7d0345edd5 ("RDMA/core: Avoid that ib_drain_qp() triggers an out-of-bounds stack access")
Cc: Bart Van Assche <[email protected]>
Cc: Steve Wise <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Cc: Jason Gunthorpe <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions