Re: [Suggestion] drivers/usb/serial: looping issue: return value mayoverride by looping

From: Greg KH
Date: Sun Mar 31 2013 - 23:06:03 EST


On Mon, Apr 01, 2013 at 10:52:57AM +0800, Chen Gang wrote:
> Hello Maintainers:
>
> in drivers/usb/serial/mos7840.c:
>
> in 'for' looping (line 632..657)
> the return value 'rv' may override if not have a check in time (line 654)
>
> next checking can not find failure which generated during looping (line 658)
>
> please help check, thanks.

No. Please send real patches if you think something is wrong, after
determining something is incorrect. To waste people's time like this,
checking to see if you have misunderstood something, does not scale at
all, please be more considerate.

greg k-h
--
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/