[edk2-devel] [PATCH v1 0/2] Fix boot failure caused by loop abortion

Yuan Yu via groups.io yuanyu=google.com at groups.io
Wed Jan 18 09:14:00 UTC 2023


A goto following an error check may cause boot failure, because the
function that returns the status is supposed to be called for all the
possible Puns in the SCSI channel.

This patch removes the check and the goto so that the while loop will
continue to run until all devices are scanned.

The changes can be seen at:
https://github.com/yyu/edk2/tree/scsi_bus_fix_v1

Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
Cc: Liming Gao <gaoliming at byosoft.com.cn>
Cc: Hao A Wu <hao.a.wu at intel.com>
Cc: Ray Ni <ray.ni at intel.com>
Cc: Sivaparvathi chellaiah <sivaparvathic at ami.com>

Yuan Yu (2):
  MdeModulePkg: Fix bug in ScsiBusDxe/ScsiBus.c
  MdeModulePkg: Clean up unused Status.

 MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

-- 
2.39.0.314.g84b9a713c41-goog



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#98783): https://edk2.groups.io/g/devel/message/98783
Mute This Topic: https://groups.io/mt/96350421/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list