From: Hauke Mehrtens Date: Sat, 7 Sep 2013 15:02:49 +0000 (+0200) Subject: bcma: fix error code handling on 64 Bit systems X-Git-Tag: v3.12-rc2~14^2~65^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaa2ced15ad8dca8048666c9f70736424d696a6b;p=pandora-kernel.git bcma: fix error code handling on 64 Bit systems On most 64 Bit systems unsigned long is 64 bit long and then -MAX_ERRNO is out of the range of a u32 used to store the error code in. This patch casts the -MAX_ERRNO to a u32 instead. This fixes a regression introduced in: commit fd4edf197544bae1c77d84bad354aa7ce1d08ce1 Author: Hauke Mehrtens Date: Mon Jul 15 13:15:08 2013 +0200 bcma: fix handling of big addrl Reported-by: Arend van Spriel Signed-off-by: Hauke Mehrtens Tested-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed