beceem: fix character device ioctl
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 13:26:47 +0000 (09:26 -0400)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 13:55:08 +0000 (09:55 -0400)
commitada692b09f4707a8e06b087b1546d9f5b3f2d37d
treef588b0047be7c357dd7611d0207de392f059e9ca
parentc5ebe2278ba600ff48663ec84c6e7f34d291503f
beceem: fix character device ioctl

Sparse caught several places where ioctl interface was incorrectly using user
memory. Fix all the ioctl cases for casting and __user annotation.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
drivers/staging/bcm/Bcmchar.c
drivers/staging/bcm/HostMibs.h [deleted file]
drivers/staging/bcm/Prototypes.h
drivers/staging/bcm/headers.h
drivers/staging/bcm/hostmibs.c