Staging: bcm: signedness bug in
Subsystems (2)
PATCH 1/1 Staging: bcm: signedness bug in
status is used to store negative error codes throughout. The only place where this is a runtime bug is if create_worker_threads() fails.
Signed-off-by Dan Carpenter <[email protected]>
drivers/staging/bcm/Misc.c +1 -1
@@ -1079,7 +1079,7 @@ int run_card_proc(PMINI_ADAPTER ps_adapter )int InitCardAndDownloadFirmware (PMINI_ADAPTER ps_adapter) { -UINT status =STATUS_SUCCESS ; +int status;UINT value =0 ;/* * Create the threads first and then download the