From: Dan Carpenter Date: Tue, 23 Aug 2011 19:15:35 +0000 (+0300) Subject: bcma: signedness bug in bcma_get_next_core() X-Git-Tag: v3.2-rc1~129^2~353^2^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0d8cc1006b889909a87f824943bad9a56358e8;p=pandora-kernel.git bcma: signedness bug in bcma_get_next_core() The u32 would never be less than zero so the error handling would break. I changed it to s32 to match how bcma_erom_get_mst_port() is declared. Signed-off-by: Dan Carpenter Signed-off-by: John W. Linville --- Reading git-diff-tree failed