On Wed, Apr 05, 2017 at 10:42:06AM +1000, Tobin C. Harding wrote: > Length undergoes type conversion when passed (indirectly) as an > argument for parameter of type 'unsigned int'. If length is negative > this is a bug (the value after conversion is large). > > Declare 'length' to be of type unsigned instead of type signed. > > Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Signed-off-by: Tobin C. Harding <me@xxxxxxxx> > --- > drivers/staging/ks7010/ks7010_sdio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) No subject at all??? _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel