Ioctl cmd value is unsigned, so change normalize_ioctl Signed-off-by: Stephen Hemminger --- a/drivers/block/floppy.c 2010-06-08 23:08:29.136934127 -0700 +++ b/drivers/block/floppy.c 2010-06-08 23:08:32.697067816 -0700 @@ -3337,7 +3337,7 @@ static int set_geometry(unsigned int cmd } /* 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; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/