diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-01-25 14:12:12 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-26 08:57:17 +1000 |
commit | ecb5646cb098d9d1961c4b1af7b776c73b7541ac (patch) | |
tree | cddda632fe6e3af9fb7f28cf1fdbb076e8d88b22 /drivers/scsi/hosts.c | |
parent | c723fdab8aa728dc2bf0da6a0de8bb9c3f588d84 (diff) | |
download | linux-ecb5646cb098d9d1961c4b1af7b776c73b7541ac.tar.bz2 |
intel_scu_ipc: fix signedness bug
busy_loop() returns negative error code, thus change err variable
from u32 to int to properly propagate correct error code.
Also remove unneeded initialization for err and i variables.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/hosts.c')
0 files changed, 0 insertions, 0 deletions