Commit 21af5448 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jens Axboe

floppy: fix signed/unsigned warnings

Ioctl cmd value is unsigned, so change normalize_ioctl
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent be1c0fbf
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment