diff options
author | Dan Carpenter <error27@gmail.com> | 2011-08-23 22:15:35 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-24 14:41:44 -0400 |
commit | 4e0d8cc1006b889909a87f824943bad9a56358e8 (patch) | |
tree | 0966130d351e6eab22bb635ad3c9704e23919c23 /drivers/sbus | |
parent | 152e585dc9fe2c3436e87cc982f2446697778228 (diff) | |
download | op-kernel-dev-4e0d8cc1006b889909a87f824943bad9a56358e8.zip op-kernel-dev-4e0d8cc1006b889909a87f824943bad9a56358e8.tar.gz |
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 <error27@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions