IB/usnic: Fix smatch endianness error
authorUpinder Malhi <umalhi@cisco.com>
Thu, 23 Jan 2014 22:38:04 +0000 (22:38 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 14 Feb 2014 17:47:29 +0000 (09:47 -0800)
commitf809309a251a13bd97cc189c3fa428782aab9716
treebba3c698d20054d8e541313cd925e6e73a0ce30a
parent38dbfb59d1175ef458d006556061adeaa8751b72
IB/usnic: Fix smatch endianness error

Error reported at http://marc.info/?l=linux-rdma&m=138995755801039&w=2

Fix short to int cast for big endian systems.

Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c