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>
This commit is contained in:
Stephen Hemminger 2010-06-15 13:21:11 +02:00 committed by Jens Axboe
parent be1c0fbfb4
commit 21af544804

View File

@ -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;