IB/mlx4: Fix a sparse endianness warning
authorBart Van Assche <bvanassche@acm.org>
Mon, 10 Mar 2014 09:33:05 +0000 (10:33 +0100)
committerRoland Dreier <roland@purestorage.com>
Tue, 18 Mar 2014 05:23:52 +0000 (22:23 -0700)
Fix the following warning for the mlx4 driver:

    $ make M=drivers/infiniband C=2 CF=-D__CHECK_ENDIAN__
    drivers/infiniband/hw/mlx4/qp.c:1885:31: warning: restricted __be16 degrades to integer

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/qp.c

Simple merge