From: "Wu, Jiaxin" <jiaxin.wu@intel.com>
To: Santhapur Naveen <naveens@amiindia.co.in>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Ye, Ting" <ting.ye@intel.com>, "Fu, Siyuan" <siyuan.fu@intel.com>
Subject: Re: Repeated condition check
Date: Mon, 25 Sep 2017 05:02:30 +0000 [thread overview]
Message-ID: <895558F6EA4E3B41AC93A00D163B7274163374E0@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <625A2455CC232F40B0F38F05ACED6D97012CA99E6A@VENUS1.in.megatrends.com>
Hi Naveen,
We may ignore your email if you don't attach any specific receiver (TO OR CC list):(.
For the issue, I agree the fix. So, can you help to report the issue on Bugzilla? We will create the formal patch to fix it.
Thanks,
Jiaxin
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Santhapur Naveen
> Sent: Friday, September 22, 2017 4:40 PM
> To: edk2-devel@lists.01.org
> Subject: Re: [edk2] Repeated condition check
>
> Hello guys,
>
> Any update?
>
> Thank you
> Naveen
>
> -----Original Message-----
> From: Santhapur Naveen
> Sent: Wednesday, September 20, 2017 12:05 PM
> To: edk2-devel@lists.01.org
> Subject: Repeated condition check
>
> Hi all,
>
> There is a redundant condition check in the API PxeBcIcmp6ErrorDpcHandle()
>
> VOID
> EFIAPI
> PxeBcIcmp6ErrorDpcHandle (
> IN VOID *Context
> )
> {
> ...
>
> if (Type != ICMP_V6_DEST_UNREACHABLE &&
> Type != ICMP_V6_PACKET_TOO_BIG &&
> -Type != ICMP_V6_PACKET_TOO_BIG &&
> +Type != ICMP_V6_TIME_EXCEEDED &&
> Type != ICMP_V6_PARAMETER_PROBLEM) {
> //
> // The type of the receveid packet should be an ICMP6 error message.
> //
> gBS->SignalEvent (RxData->RecycleSignal);
> goto ON_EXIT;
> }
> ...
> }
>
> Unfortunately, some error checking tools were not able to capture this.
> Please confirm and take the necessary action.
>
> Thank you
> Naveen
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
next prev parent reply other threads:[~2017-09-25 4:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 8:40 Repeated condition check Santhapur Naveen
2017-09-25 5:02 ` Wu, Jiaxin [this message]
2017-09-25 5:05 ` Santhapur Naveen
2017-09-25 5:10 ` Wu, Jiaxin
2017-09-25 5:12 ` Santhapur Naveen
-- strict thread matches above, loose matches on Subject: below --
2017-09-20 6:35 Santhapur Naveen
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=895558F6EA4E3B41AC93A00D163B7274163374E0@SHSMSX103.ccr.corp.intel.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