[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110725125848.GD4482@sepie.suse.cz>
Date: Mon, 25 Jul 2011 14:58:48 +0200
From: Michal Marek <mmarek@...e.cz>
To: Jesper Juhl <jj@...osbits.net>
Cc: linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>,
Richard Henderson <rth@...u.edu>, Bjorn Ekwall <bj0rn@...x.se>,
trivial@...nel.org
Subject: Re: [PATCH] genksyms: Use same type in loop comparison
On Tue, Jul 12, 2011 at 12:32:04AM +0200, Jesper Juhl wrote:
> The ARRAY_SIZE macro in scripts/genksyms/genksyms.c returns a value of
> type size_t. That value is being compared to a variable of type int in
> a loop in read_node(). Change the int variable to size_t type as well,
> so we don't do signed vs unsigned type comparisons with all the
> potential promotion/sign extension trouble that can cause (also
> silences compiler warnings at high levels of warnings).
>
> Signed-off-by: Jesper Juhl <jj@...osbits.net>
Applied to kbuid-2.6.git#kbuild, thanks.
Michal
--
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