diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-06-15 13:21:11 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-08-07 18:15:39 +0200 |
commit | 21af5448042a0962fb1df13a310bb363a8f6a8dc (patch) | |
tree | d2ede4a567ef627c4923294949cbcb36ef02504d | |
parent | be1c0fbfb4e84d0b02903cbc6358124586605a1b (diff) | |
download | linux-21af5448042a0962fb1df13a310bb363a8f6a8dc.tar.gz linux-21af5448042a0962fb1df13a310bb363a8f6a8dc.tar.bz2 linux-21af5448042a0962fb1df13a310bb363a8f6a8dc.zip |
floppy: fix signed/unsigned warnings
Ioctl cmd value is unsigned, so change normalize_ioctl
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
-rw-r--r-- | drivers/block/floppy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 975fac3669c5..fd7085aa999f 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c @@ -3337,7 +3337,7 @@ static int set_geometry(unsigned int cmd, struct floppy_struct *g, } /* handle obsolete ioctl's */ -static int ioctl_table[] = { +static unsigned int ioctl_table[] = { FDCLRPRM, FDSETPRM, FDDEFPRM, @@ -3365,7 +3365,7 @@ static int ioctl_table[] = { FDTWADDLE }; -static int normalize_ioctl(int *cmd, int *size) +static int normalize_ioctl(unsigned int *cmd, int *size) { int i; |