Refactor DiscoverScsiDevice() so that it returns EFI_STATUS instead of
BOOLEAN. This will enable its callers to distinguish a "not found"
situation from real problems like memory allocation failures.
The changes can be seen at:
https://github.com/yyu/edk2/tree/scsi_bus_fix_v2
Yuan Yu (1):
MdeModulePkg: ScsiBusDxe: Refactor DiscoverScsiDevice()
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.h | 10 ++++---
MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBus.c | 30 ++++++++++----------
2 files changed, 21 insertions(+), 19 deletions(-)
--
2.39.1.456.gfc5497dd1b-goog
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99339): https://edk2.groups.io/g/devel/message/99339
Mute This Topic: https://groups.io/mt/96647624/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-