]> 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>
Thu, 9 Dec 2010 21:24:19 +0000 (13:24 -0800)
commit8ccbc9f2b9e169412c9b92d1a3e1de1dac9a9783
tree9b46e639af17802243d86eb9802c245ad754a5a9
parent7c873a37d10ef7e9291b812421d7e6ef52f4793a
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