Commit 4e0d8cc1006b889909a87f824943bad9a56358e8
Committed by
John W. Linville
1 parent
152e585dc9
Exists in
master
and in
6 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/bcma/scan.c