From: Brian W Hart Date: Wed, 14 May 2014 01:03:45 +0000 (+0930) Subject: cpumask.h: silence warning with -Wsign-compare X-Git-Tag: omap-for-v3.16/fixes-against-rc1~49^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cea092c9488cbb22c8b70336ab1413e0daf350f0;p=pandora-kernel.git cpumask.h: silence warning with -Wsign-compare Silence the warning when building with -Wsign-compare when cpumask.h is included: include/linux/cpumask.h: In function ‘cpumask_parse’: include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare] int len = nl ? nl - buf : strlen(buf); ^ V2: Rusty pointed out that unsigned should be used instead. Signed-off-by: Brian W Hart Signed-off-by: Rusty Russell --- Reading git-diff-tree failed