Re: [PATCH] drivers/message/i2o/i2o_block.c unsigned comparison

From: Alexey Dobriyan
Date: Sat Nov 12 2005 - 17:06:00 EST


On Sat, Nov 12, 2005 at 04:29:54PM -0500, Gabriel A. Devenyi wrote:
> --- a/drivers/message/i2o/i2o_block.c
> +++ b/drivers/message/i2o/i2o_block.c

> static int i2o_block_ioctl(struct inode *inode, struct file *file,
> - unsigned int cmd, unsigned long arg)
> + unsigned int cmd, long arg)
> {

Don't you see this?

CC drivers/message/i2o/i2o_block.o
drivers/message/i2o/i2o_block.c:961: warning: initialization from incompatible pointer type

->ioctl method takes "unsigned long arg".

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/