* [PATCH] MdeModulePkg/ResetUtilityLib: Fix GCC build failure @ 2018-02-13 3:02 Ruiyu Ni 2018-02-13 7:27 ` Zeng, Star 0 siblings, 1 reply; 3+ messages in thread From: Ruiyu Ni @ 2018-02-13 3:02 UTC (permalink / raw) To: edk2-devel; +Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> --- MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c index 90de94ca9b..da5fa7b094 100644 --- a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c +++ b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c @@ -1,7 +1,7 @@ /** @file This contains the business logic for the module-specific Reset Helper functions. - Copyright (c) 2017 Intel Corporation. All rights reserved.<BR> + Copyright (c) 2017 - 2018 Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 Microsoft Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under @@ -100,7 +100,7 @@ GetResetPlatformSpecificGuid ( // if ((ResetDataStringSize < DataSize) && (DataSize - ResetDataStringSize) >= sizeof (GUID)) { ResetSubtypeGuid = (GUID *)((UINT8 *)ResetData + ResetDataStringSize); - DEBUG ((DEBUG_VERBOSE, __FUNCTION__" - Detected reset subtype %g...\n", ResetSubtypeGuid)); + DEBUG ((DEBUG_VERBOSE, "%a - Detected reset subtype %g...\n", __FUNCTION__, ResetSubtypeGuid)); return ResetSubtypeGuid; } return NULL; -- 2.16.1.windows.1 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] MdeModulePkg/ResetUtilityLib: Fix GCC build failure 2018-02-13 3:02 [PATCH] MdeModulePkg/ResetUtilityLib: Fix GCC build failure Ruiyu Ni @ 2018-02-13 7:27 ` Zeng, Star 2018-02-14 0:59 ` Kinney, Michael D 0 siblings, 1 reply; 3+ messages in thread From: Zeng, Star @ 2018-02-13 7:27 UTC (permalink / raw) To: Ni, Ruiyu, edk2-devel@lists.01.org; +Cc: Bi, Dandan, Zeng, Star Reviewed-by: Star Zeng <star.zeng@intel.com> Thanks, Star -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Ruiyu Ni Sent: Tuesday, February 13, 2018 11:03 AM To: edk2-devel@lists.01.org Cc: Bi, Dandan <dandan.bi@intel.com> Subject: [edk2] [PATCH] MdeModulePkg/ResetUtilityLib: Fix GCC build failure Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> --- MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c index 90de94ca9b..da5fa7b094 100644 --- a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c +++ b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c @@ -1,7 +1,7 @@ /** @file This contains the business logic for the module-specific Reset Helper functions. - Copyright (c) 2017 Intel Corporation. All rights reserved.<BR> + Copyright (c) 2017 - 2018 Intel Corporation. All rights reserved.<BR> Copyright (c) 2016 Microsoft Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under @@ -100,7 +100,7 @@ GetResetPlatformSpecificGuid ( // if ((ResetDataStringSize < DataSize) && (DataSize - ResetDataStringSize) >= sizeof (GUID)) { ResetSubtypeGuid = (GUID *)((UINT8 *)ResetData + ResetDataStringSize); - DEBUG ((DEBUG_VERBOSE, __FUNCTION__" - Detected reset subtype %g...\n", ResetSubtypeGuid)); + DEBUG ((DEBUG_VERBOSE, "%a - Detected reset subtype %g...\n", + __FUNCTION__, ResetSubtypeGuid)); return ResetSubtypeGuid; } return NULL; -- 2.16.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] MdeModulePkg/ResetUtilityLib: Fix GCC build failure 2018-02-13 7:27 ` Zeng, Star @ 2018-02-14 0:59 ` Kinney, Michael D 0 siblings, 0 replies; 3+ messages in thread From: Kinney, Michael D @ 2018-02-14 0:59 UTC (permalink / raw) To: Zeng, Star, Ni, Ruiyu, edk2-devel@lists.01.org, Kinney, Michael D Cc: Bi, Dandan, Zeng, Star Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] > On Behalf Of Zeng, Star > Sent: Monday, February 12, 2018 11:28 PM > To: Ni, Ruiyu <ruiyu.ni@intel.com>; edk2- > devel@lists.01.org > Cc: Bi, Dandan <dandan.bi@intel.com>; Zeng, Star > <star.zeng@intel.com> > Subject: Re: [edk2] [PATCH] MdeModulePkg/ResetUtilityLib: > Fix GCC build failure > > Reviewed-by: Star Zeng <star.zeng@intel.com> > > Thanks, > Star > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] > On Behalf Of Ruiyu Ni > Sent: Tuesday, February 13, 2018 11:03 AM > To: edk2-devel@lists.01.org > Cc: Bi, Dandan <dandan.bi@intel.com> > Subject: [edk2] [PATCH] MdeModulePkg/ResetUtilityLib: Fix > GCC build failure > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> > Cc: Dandan Bi <dandan.bi@intel.com> > --- > MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c | 4 > ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git > a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c > b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c > index 90de94ca9b..da5fa7b094 100644 > --- a/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c > +++ b/MdeModulePkg/Library/ResetUtilityLib/ResetUtility.c > @@ -1,7 +1,7 @@ > /** @file > This contains the business logic for the module- > specific Reset Helper functions. > > - Copyright (c) 2017 Intel Corporation. All rights > reserved.<BR> > + Copyright (c) 2017 - 2018 Intel Corporation. All > rights reserved.<BR> > Copyright (c) 2016 Microsoft Corporation. All rights > reserved.<BR> > > This program and the accompanying materials are > licensed and made available under @@ -100,7 +100,7 @@ > GetResetPlatformSpecificGuid ( > // > if ((ResetDataStringSize < DataSize) && (DataSize - > ResetDataStringSize) >= sizeof (GUID)) { > ResetSubtypeGuid = (GUID *)((UINT8 *)ResetData + > ResetDataStringSize); > - DEBUG ((DEBUG_VERBOSE, __FUNCTION__" - Detected > reset subtype %g...\n", ResetSubtypeGuid)); > + DEBUG ((DEBUG_VERBOSE, "%a - Detected reset subtype > %g...\n", > + __FUNCTION__, ResetSubtypeGuid)); > return ResetSubtypeGuid; > } > return NULL; > -- > 2.16.1.windows.1 > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-14 0:53 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-02-13 3:02 [PATCH] MdeModulePkg/ResetUtilityLib: Fix GCC build failure Ruiyu Ni 2018-02-13 7:27 ` Zeng, Star 2018-02-14 0:59 ` Kinney, Michael D
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox