]> 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)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:08:14 +0000 (18:08 -0500)
commit5c30f6499e028123583a9558dacada798c7f1f07
tree8b51e861bb4f5dd72848df39cfbee86c3836075c
parenteda7fca53fce208055c2580c3ca321bc752ad29b
rose: Fix signedness issues wrt. digi count.

commit 9828e6e6e3f19efcb476c567b9999891d051f52f upstream.

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: Paul Gortmaker <paul.gortmaker@windriver.com>
net/rose/af_rose.c