diff options
| author | Hauke Mehrtens <[email protected]> | 2013-09-07 15:02:49 +0000 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2013-09-09 18:44:33 +0000 |
| commit | aaa2ced15ad8dca8048666c9f70736424d696a6b (patch) | |
| tree | 5f1e3886781213fb9091ee15c01b88c2fa9d3876 /drivers/net/xen-netback/interface.c | |
| parent | rtl8187: fix use after free on failure path in rtl8187_init_urbs() (diff) | |
| download | kernel-aaa2ced15ad8dca8048666c9f70736424d696a6b.tar.gz kernel-aaa2ced15ad8dca8048666c9f70736424d696a6b.zip | |
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 <[email protected]>
Date: Mon Jul 15 13:15:08 2013 +0200
bcma: fix handling of big addrl
Reported-by: Arend van Spriel <[email protected]>
Signed-off-by: Hauke Mehrtens <[email protected]>
Tested-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
