From: Paul Walmsley Date: Mon, 1 Apr 2013 02:22:22 +0000 (-0600) Subject: ARM: OMAP2+: powerdomain: avoid testing whether an unsigned char is less than 0 X-Git-Tag: omap-for-v3.10/fixes-non-critical-signed~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd70f6eb3e78b7c9c6bec2cf5be6423dd2b37f6f;p=pandora-kernel.git ARM: OMAP2+: powerdomain: avoid testing whether an unsigned char is less than 0 _pwrdm_save_clkdm_state_and_activate() tried to test one of its unsigned arguments to determine whether it was less than zero. Fix by moving the error test to the caller. Reported-by: Chen Gang Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed