Re: [PATCH v2] kernel: arg2 is unsigned long which is never < 0
From: Cyrill Gorcunov
Date: Sat Feb 16 2013 - 02:50:18 EST
On Sat, Feb 16, 2013 at 12:13:41PM +0800, Chen Gang wrote:
>
> arg2 will never < 0, for its type is 'unsigned long'
>
> so need beautify the relative source code (better to use macros).
>
> Reported-by: Cyrill Gorcunov <gorcunov@xxxxxxxxxx>
> Signed-off-by: Chen Gang <gang.chen@xxxxxxxxxxx>
Looks good to me, thanks Chen!
--
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/