diff options
| author | Roland Dreier <[email protected]> | 2008-12-30 23:30:26 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2008-12-30 23:30:26 +0000 |
| commit | f781a22fa2ec11878a960bc3c2abb0a76f9a8f16 (patch) | |
| tree | 730299e58bb709ed21977270389521c295911ac8 /drivers/message/fusion/lsi/mpi_raid.h | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gee... (diff) | |
| download | kernel-f781a22fa2ec11878a960bc3c2abb0a76f9a8f16.tar.gz kernel-f781a22fa2ec11878a960bc3c2abb0a76f9a8f16.zip | |
IB/mlx4: Fix reading SL field out of cqe->sl_vid
Commit f780a9f1 ("mlx4_core: Add ethernet fields to CQE struct")
introduced a bug in how wc->sl is set in mlx4_ib_poll_one() -- since
cqe->sl_vid is a big-endian value, the shift must be done after
converting to host endianness.
This bug was found using sparse endianness checking.
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions
