From: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
To: Leif Lindholm <leif.lindholm@linaro.org>
Cc: "jun.nie@linaro.org" <jun.nie@linaro.org>,
"haojian.zhuang@linaro.org" <haojian.zhuang@linaro.org>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: [PATCH v3 1/2] MMC : Added missing __FUNCTION__ macro.
Date: Thu, 7 Sep 2017 15:19:34 +0000 [thread overview]
Message-ID: <DB5PR04MB0998159F360F03036AC196F68E940@DB5PR04MB0998.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20170907143640.skmrf57m62iq5sti@bivouac.eciton.net>
Hi Leif,
Yes, I agree to contribute under TianoCore Contribution Agreement 1.1
Thanks,
Meenakshi
> -----Original Message-----
> From: Leif Lindholm [mailto:leif.lindholm@linaro.org]
> Sent: Thursday, September 07, 2017 8:07 PM
> To: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
> Cc: jun.nie@linaro.org; haojian.zhuang@linaro.org; edk2-devel@lists.01.org
> Subject: Re: [PATCH v3 1/2] MMC : Added missing __FUNCTION__ macro.
>
> On Thu, Sep 07, 2017 at 07:47:52PM +0530, Meenakshi Aggarwal wrote:
> > We want to print name of the function resulted in error, but
> > __FUNCTION__ macro was missing.
> >
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
>
> Like for 2/2, you appear to have left out edk2-devel@lists.01.org in this
> submission (added).
>
> Like for 2/2, happy to push this if you can confirm you are contributing under
> TianoCore Contribution Agreement 1.1.
>
> /
> Leif
>
> > ---
> > EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 14 +++++++-----
> --
> > 1 file changed, 7 insertions(+), 7 deletions(-)
> >
> > diff --git a/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c
> > b/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c
> > index 7f74c54..27e4444 100644
> > --- a/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c
> > +++ b/EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c
> > @@ -388,12 +388,12 @@ InitializeSdMmcDevice (
> >
> > Status = MmcHost->SendCommand (MmcHost, MMC_CMD55, CmdArg);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "%a(MMC_CMD55): Error and Status = %r\n",
> Status));
> > + DEBUG ((DEBUG_ERROR, "%a (MMC_CMD55): Error and Status = %r\n",
> > + __FUNCTION__, Status));
> > return Status;
> > }
> > Status = MmcHost->ReceiveResponse (MmcHost,
> MMC_RESPONSE_TYPE_R1, Response);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "%a(MMC_CMD55): Error and Status = %r\n",
> Status));
> > + DEBUG ((DEBUG_ERROR, "%a (MMC_CMD55): Error and Status = %r\n",
> > + __FUNCTION__, Status));
> > return Status;
> > }
> > if ((Response[0] & MMC_STATUS_APP_CMD) == 0) { @@ -445,12 +445,12
> > @@ InitializeSdMmcDevice (
> > CmdArg |= 1 << (0 * 4);
> > Status = MmcHost->SendCommand (MmcHost, MMC_CMD6, CmdArg);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "%a(MMC_CMD6): Error and Status = %r\n",
> Status));
> > + DEBUG ((DEBUG_ERROR, "%a (MMC_CMD6): Error and Status = %r\n",
> > + __FUNCTION__, Status));
> > return Status;
> > } else {
> > Status = MmcHost->ReadBlockData (MmcHost, 0, 64, Buffer);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "%a(MMC_CMD6): ReadBlockData Error and
> Status = %r\n", Status));
> > + DEBUG ((DEBUG_ERROR, "%a (MMC_CMD6): ReadBlockData Error
> and
> > + Status = %r\n", __FUNCTION__, Status));
> > return Status;
> > }
> > }
> > @@ -459,20 +459,20 @@ InitializeSdMmcDevice (
> > CmdArg = MmcHostInstance->CardInfo.RCA << 16;
> > Status = MmcHost->SendCommand (MmcHost, MMC_CMD55, CmdArg);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "%a(MMC_CMD55): Error and Status = %r\n",
> Status));
> > + DEBUG ((DEBUG_ERROR, "%a (MMC_CMD55): Error and Status =
> %r\n",
> > + __FUNCTION__, Status));
> > return Status;
> > }
> > /* Width: 4 */
> > Status = MmcHost->SendCommand (MmcHost, MMC_CMD6, 2);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "%a(MMC_CMD6): Error and Status = %r\n",
> Status));
> > + DEBUG ((DEBUG_ERROR, "%a (MMC_CMD6): Error and Status = %r\n",
> > + __FUNCTION__, Status));
> > return Status;
> > }
> > }
> > if (MMC_HOST_HAS_SETIOS(MmcHost)) {
> > Status = MmcHost->SetIos (MmcHost, 26 * 1000 * 1000, 4,
> EMMCBACKWARD);
> > if (EFI_ERROR (Status)) {
> > - DEBUG ((EFI_D_ERROR, "%a(SetIos): Error and Status = %r\n", Status));
> > + DEBUG ((DEBUG_ERROR, "%a (SetIos): Error and Status = %r\n",
> > + __FUNCTION__, Status));
> > return Status;
> > }
> > }
> > --
> > 1.9.1
> >
next prev parent reply other threads:[~2017-09-07 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1504793873-13078-1-git-send-email-meenakshi.aggarwal@nxp.com>
[not found] ` <1504793873-13078-2-git-send-email-meenakshi.aggarwal@nxp.com>
2017-09-07 14:35 ` [PATCH v3 2/2] SD : Updated CMD 6 implememtation Leif Lindholm
2017-09-07 15:19 ` Meenakshi Aggarwal
2017-09-07 14:36 ` [PATCH v3 1/2] MMC : Added missing __FUNCTION__ macro Leif Lindholm
2017-09-07 15:19 ` Meenakshi Aggarwal [this message]
2017-09-07 16:39 ` Leif Lindholm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB5PR04MB0998159F360F03036AC196F68E940@DB5PR04MB0998.eurprd04.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox