[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130216075008.GB20312@moon>
Date: Sat, 16 Feb 2013 11:50:08 +0400
From: Cyrill Gorcunov <gorcunov@...nvz.org>
To: Chen Gang <gang.chen@...anux.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Serge Hallyn <serge.hallyn@...onical.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] kernel: arg2 is unsigned long which is never < 0
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@...nvz.org>
> Signed-off-by: Chen Gang <gang.chen@...anux.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists