]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rose: Fix signedness issues wrt. digi count.
authorDavid S. Miller <davem@davemloft.net>
Mon, 20 Sep 2010 22:40:35 +0000 (15:40 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:43:21 +0000 (12:43 -0700)
commitab274fcfec82a91a6232ac71d620b62beb80ef78
tree3232c4b48b153990206063b3885ef12c2b138a0f
parentf6d37e73dcf0ba416ccf98fb4edc84509d097a1c
rose: Fix signedness issues wrt. digi count.

[ Upstream commit 9828e6e6e3f19efcb476c567b9999891d051f52f ]

Just use explicit casts, since we really can't change the
types of structures exported to userspace which have been
around for 15 years or so.

Reported-by: Dan Rosenberg <dan.j.rosenberg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/rose/af_rose.c