diff options
| author | Roland Dreier <[email protected]> | 2014-05-28 16:23:03 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2014-05-28 16:23:03 +0000 |
| commit | 6c9b5d9b00ed2b1cbd5e5d2c176bf88da7beb224 (patch) | |
| tree | a537dbc773a29d4312b4c0a26fa98f7fafce09ac /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | IB/mlx5: add missing padding at end of struct mlx5_ib_create_srq (diff) | |
| download | kernel-6c9b5d9b00ed2b1cbd5e5d2c176bf88da7beb224.tar.gz kernel-6c9b5d9b00ed2b1cbd5e5d2c176bf88da7beb224.zip | |
IB/mlx5: Fix warning about cast of wr_id back to pointer on 32 bits
We need to cast wr_id to unsigned long before casting to a pointer.
This fixes:
drivers/infiniband/hw/mlx5/mr.c: In function 'mlx5_umr_cq_handler':
>> drivers/infiniband/hw/mlx5/mr.c:724:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
context = (struct mlx5_ib_umr_context *)wc.wr_id;
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
