public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] Silicon/SiFive: Handle case of NULL FirmwareContext
@ 2020-09-30  8:50 Daniel Schaefer
  2020-09-30  8:50 ` [PATCH 1/1] " Daniel Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Schaefer @ 2020-09-30  8:50 UTC (permalink / raw)
  To: devel; +Cc: Daniel Schaefer, Abner Chang, Leif Lindholm

This is a replacement patch of Abner's with title
  ProcessorPkg/RiscVEdk2SbiLib: Error handling for locating firmware context

I realized that the error handling wasn't bad but unnecessary. Those
funtions can never return an error, since the SBI call they use also
doesn't.

Tested by booting to UEFI Shell. No new error message logged or ASSERT
triggered.

Cc: Abner Chang <abner.chang@hpe.com>
Cc: Leif Lindholm <leif@nuviainc.com>

Daniel Schaefer (1):
  Silicon/SiFive: Handle case of NULL FirmwareContext

 .../Include/Library/RiscVEdk2SbiLib.h         | 12 ++---
 .../PlatformPkg/Universal/Sec/SecMain.c       | 11 +++--
 .../Library/RiscVEdk2SbiLib/RiscVEdk2SbiLib.c | 46 +++++++------------
 .../Library/PeiCoreInfoHobLib/CoreInfoHob.c   | 13 ++++--
 4 files changed, 36 insertions(+), 46 deletions(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-10-02  2:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-30  8:50 [PATCH 0/1] Silicon/SiFive: Handle case of NULL FirmwareContext Daniel Schaefer
2020-09-30  8:50 ` [PATCH 1/1] " Daniel Schaefer
2020-09-30 13:37   ` Abner Chang
     [not found]   ` <1639933E5766B4C0.8589@groups.io>
2020-10-02  2:40     ` [edk2-devel] " Abner Chang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox