summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-07-05 23:16:54 +0200
committerRoland Dreier <roland@purestorage.com>2012-07-09 03:02:33 +0200
commitf747c34af4f56cc239e04505bd583dd3bdcfe49d (patch)
treee72c1c67ecc48103f02b2fb542dc2033ada0566a /include
parentLinux 3.5-rc5 (diff)
downloadlinux-f747c34af4f56cc239e04505bd583dd3bdcfe49d.tar.xz
linux-f747c34af4f56cc239e04505bd583dd3bdcfe49d.zip
RDMA/cxgb4: Fix endianness of addition to mpa->private_data_size
sparse correctly warns that if mpa->private_data_size is __be16, then doing += on it is wrong, even if we do += htons(<something>) -- on a little endian system, carries will go the wrong way. Fix this up by doing the addition in native byte order. Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions