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

From: Gabriel A. Devenyi
Date: Sat Nov 12 2005 - 17:13:21 EST


On November 12, 2005 17:19, Alexey Dobriyan wrote:
> Don't you see this?

*turns red* I just checked for a compile error, sorry.

> 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".

So should this comparasion arg < 0 simply be removed? Its meaningless if arg is unsigned.

--
Gabriel A. Devenyi
ace@xxxxxxxxxxxxx
-
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/