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+tianoc...@kernel.org> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Hao A Wu <hao.a...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sivaparvathi chellaiah <sivaparvat...@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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-