diff options
| author | Leon Romanovsky <[email protected]> | 2017-04-22 17:28:52 +0300 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-04-28 13:11:43 -0400 |
| commit | 1e0729348fdc1f0ecb1838a66da5592f6a6647f2 (patch) | |
| tree | 49aed0e9466f1c677f1cac2f65d6d276e99562a4 /scripts/gdb/vmlinux-gdb.py | |
| parent | 313e16d5afaf000bd3f7a80e328890f963a10366 (diff) | |
IB/nes: Fix incorrect type in assignment
Fix mismatch between types, wqe_words are in le32 format, while opcode
in CPU format.
The following sparse warnings are helped to find it:
drivers/infiniband/hw/nes/nes_hw.c:3058:24: warning: incorrect type in assignment (different base types)
drivers/infiniband/hw/nes/nes_hw.c:3058:24: expected unsigned int [unsigned] [assigned] [usertype] opcode
drivers/infiniband/hw/nes/nes_hw.c:3058:24: got restricted __le32 <noident>
CC: Faisal Latif <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions