commit | f1971a2e0393a86464caa77aa52168b731960dfa | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Tue May 17 14:05:49 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu May 19 11:26:51 2016 -0700 |
tree | 963ddd40bf0a0199c1c0568d0ba3bc2f21895e6b | |
parent | 1740c29a46b30a2f157afc473156f157e599d4c2 [diff] |
kcm: fix a signedness in kcm_splice_read() skb_splice_bits() returns int, kcm_splice_read() returns ssize_t, both are signed. We may need another patch to make them all ssize_t, but that deserves a separated patch. Fixes: 91687355b927 ("kcm: Splice support") Reported-by: David Binderman <linuxdev.baldrick@gmail.com> Cc: Tom Herbert <tom@herbertland.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>