aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorXin Long <[email protected]>2017-10-28 11:43:56 +0000
committerDavid S. Miller <[email protected]>2017-10-29 09:03:24 +0000
commitf6fc6bc0b8e0bb13a210bd7386ffdcb1a5f30ef1 (patch)
tree26bd186e3cc30b231301f3853df53341092734fa /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentsctp: fix some type cast warnings introduced by transport rhashtable (diff)
downloadkernel-f6fc6bc0b8e0bb13a210bd7386ffdcb1a5f30ef1.tar.gz
kernel-f6fc6bc0b8e0bb13a210bd7386ffdcb1a5f30ef1.zip
sctp: fix a type cast warnings that causes a_rwnd gets the wrong value
These warnings were found by running 'make C=2 M=net/sctp/'. Commit d4d6fb5787a6 ("sctp: Try not to change a_rwnd when faking a SACK from SHUTDOWN.") expected to use the peers old rwnd and add our flight size to the a_rwnd. But with the wrong Endian, it may not work as well as expected. So fix it by converting to the right value. Fixes: d4d6fb5787a6 ("sctp: Try not to change a_rwnd when faking a SACK from SHUTDOWN.") Reported-by: Eric Dumazet <[email protected]> Signed-off-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions