From: Jesper Juhl Date: Mon, 11 Jul 2011 22:32:04 +0000 (+0200) Subject: genksyms: Use same type in loop comparison X-Git-Tag: v3.1-rc1~242^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ae14703e76de49e6116296f3b20925f491dbb16;p=pandora-kernel.git genksyms: Use same type in loop comparison 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 Signed-off-by: Michal Marek --- Reading git-diff-tree failed