aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2021-08-31 02:02:10 +0000
committerDavid S. Miller <[email protected]>2021-08-31 11:03:03 +0000
commit92548b0ee220e000d81c27ac9a80e0ede895a881 (patch)
tree863f467ab8cda8c7a8f4c401b6e4d18528d03da2 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentMerge branch 'octeon-npc-fixes' (diff)
downloadkernel-92548b0ee220e000d81c27ac9a80e0ede895a881.tar.gz
kernel-92548b0ee220e000d81c27ac9a80e0ede895a881.zip
ipv4: fix endianness issue in inet_rtm_getroute_build_skb()
The UDP length field should be in network order. This removes the following sparse error: net/ipv4/route.c:3173:27: warning: incorrect type in assignment (different base types) net/ipv4/route.c:3173:27: expected restricted __be16 [usertype] len net/ipv4/route.c:3173:27: got unsigned long Fixes: 404eb77ea766 ("ipv4: support sport, dport and ip_proto in RTM_GETROUTE") Signed-off-by: Eric Dumazet <[email protected]> Cc: Roopa Prabhu <[email protected]> Cc: David Ahern <[email protected]> Reviewed-by: David Ahern <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions