Reviewed-by: Ray Ni <ray...@intel.com> Thanks, Ray > -----Original Message----- > From: Huang, Jenny <jenny.hu...@intel.com> > Sent: Tuesday, January 23, 2024 11:26 AM > To: Sheng, W <w.sh...@intel.com>; devel@edk2.groups.io > Cc: Ni, Ray <ray...@intel.com>; Chiang, Chris <chris.chi...@intel.com> > Subject: RE: [PATCH] MdeModulePkg/PciBusDxe: Add feedback status for > PciIoMap > > Reviewed by Jenny Huang <jenny.hu...@intel.com> > > -----Original Message----- > From: Sheng, W <w.sh...@intel.com> > Sent: Sunday, January 21, 2024 10:47 PM > To: devel@edk2.groups.io > Cc: Ni, Ray <ray...@intel.com>; Huang, Jenny <jenny.hu...@intel.com>; > Chiang, Chris <chris.chi...@intel.com> > Subject: [PATCH] MdeModulePkg/PciBusDxe: Add feedback status for > PciIoMap > > PciIoMap () need to feedback the status of > mIoMmuProtocol->SetAttribute () return value. > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4652 > > Cc: Ray Ni <ray...@intel.com> > Cc: Huang Jenny <jenny.hu...@intel.com> > Cc: Chiang Chris <chris.chi...@intel.com> > Signed-off-by: Sheng Wei <w.sh...@intel.com> > --- > MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c > b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c > index 14bed54729..e85544d08d 100644 > --- a/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c > +++ b/MdeModulePkg/Bus/Pci/PciBusDxe/PciIo.c > @@ -1024,12 +1024,12 @@ PciIoMap ( > return EFI_INVALID_PARAMETER; > } > > - mIoMmuProtocol->SetAttribute ( > - mIoMmuProtocol, > - PciIoDevice->Handle, > - *Mapping, > - IoMmuAttribute > - ); > + Status = mIoMmuProtocol->SetAttribute ( > + mIoMmuProtocol, > + PciIoDevice->Handle, > + *Mapping, > + IoMmuAttribute > + ); > } > } > > -- > 2.26.2.windows.1
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114282): https://edk2.groups.io/g/devel/message/114282 Mute This Topic: https://groups.io/mt/103881889/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/leave/9847357/21656/1706620634/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-