]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix some type cast warnings introduced by transport rhashtable
authorXin Long <lucien.xin@gmail.com>
Sat, 28 Oct 2017 11:43:55 +0000 (19:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Oct 2017 09:03:24 +0000 (18:03 +0900)
commit6d0684aa8d21876d0bd2e322cd9f7e3e944e91eb
treebf7488296ff1317d4ed77c8129795a9b54d28710
parent75757a60020694d70dc9600020772ea5549957e8
sctp: fix some type cast warnings introduced by transport rhashtable

These warnings were found by running 'make C=2 M=net/sctp/'.

They are introduced by not aware of Endian for the port when
coding transport rhashtable patches.

Fixes: eb38820ca3d8 ("sctp: use new rhlist interface on sctp transport rhashtable")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/input.c