You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Staging: bcm: signedness bug in InitCardAndDownloadFirmware()
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 <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f05321cca5
commit
2e31613901
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user