df7ce74e6c
RedfishPkg/RedfishDiscoverDxe: Fix memory free issue
...
Check the memory block pointer before freeing it.
Cc: Nickle Wang <nicklew@nvidia.com >
Cc: Igor Kulchytskyy <igork@ami.com >
Signed-off-by: Abner Chang <abner.chang@amd.com >
Reviewed-by: Nickle Wang <nicklew@nvidia.com >
2022-11-01 01:17:57 +00:00
c403de7bd4
RedfishPkg/RedfishRestExDxe: Remove extra debug macro argument
...
The debug macro argument in this change is removed since it does
have a corresponding print specifier in the debug message string.
Cc: Abner Chang <abner.chang@amd.com >
Cc: Nickle Wang <nickle@csie.io >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Abner Chang <abner.chang@amd.com >
Reviewed-by: Nickle Wang <nickle@csie.io >
2022-09-09 01:42:39 +00:00
f7da805b50
RedfishPkg/RedfishDiscoverDxe: Install protocol on each network interface
...
BZ 4037:
Install EFI_DISCOVER_PROTOCOL on each network interface.
This fixes the issue that causes the high-level Redfish driver
on the network interface is stopped when:
1. EFI_DISCOVER_PROTOCOL is reinstalled on a new-found network
interface, or
2. EFI_DISCOVER_PROTOCOL is stopped on the network interface
other than the one which is used to communicate with Redfish
service.
Cc: Nickle Wang <nickle@csie.io >
Cc: Igor Kulchytskyy <igork@ami.com >
Signed-off-by: Abner Chang <abner.chang@amd.com >
Reviewed-by: Nickle Wang <nickle@csie.io >
Reviewed-by: Igor Kulchytskyy <igork@ami.com >
2022-09-06 10:09:41 +00:00
39de741e2d
RedfishPkg: Apply uncrustify changes
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737
Apply uncrustify changes to .c/.h files in the RedfishPkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Abner Chang <abner.chang@hpe.com >
2021-12-07 17:24:28 +00:00
7e7b729f6c
RedfishPkg/RedfishDiscoverDxe: EFI Redfish Discover Protocol
...
BZ#:2906
EDK2 EFI Redfish Discover Protocol implementation. Refer to UEFI
spec 2.9 section 31.1.
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Cc: Jiaxin Wu <jiaxin.wu@intel.com >
Cc: Siyuan Fu <siyuan.fu@intel.com >
Cc: Fan Wang <fan.wang@intel.com >
Cc: Jiewen Yao <jiewen.yao@intel.com >
Reviewed-by: Nickle Wang <nickle.wang@hpe.com >
2021-04-12 07:02:23 +00:00