From: Aaron Conole <aconole@redhat.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: Owen Hilyard <ohilyard@iol.unh.edu>,
David Marchand <david.marchand@redhat.com>, dev <dev@dpdk.org>,
Rasesh Mody <rmody@marvell.com>,
Shahed Shaikh <shshaikh@marvell.com>
Subject: Re: [dpdk-dev] Define statement with UB prevents compilation using UBSAN
Date: Fri, 11 Jun 2021 10:34:26 -0400 [thread overview]
Message-ID: <f7teed8zczx.fsf@redhat.com> (raw)
In-Reply-To: <20210610143604.48278bcc@hermes.local> (Stephen Hemminger's message of "Thu, 10 Jun 2021 14:36:04 -0700")
Stephen Hemminger <stephen@networkplumber.org> writes:
> On Thu, 10 Jun 2021 16:51:37 -0400
> Owen Hilyard <ohilyard@iol.unh.edu> wrote:
>
>> Working backward to the define
>> statement, AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY is defined as
>>
>> #define AEU_INPUTS_ATTN_BITS_MCP_LATCHED_SCPAD_PARITY (0x1 << 31)
>
> Why not (1u << 31)?
+1
CC'd the QLogic maintainers as well.
next prev parent reply other threads:[~2021-06-11 14:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-10 20:51 [dpdk-dev] Define statement with UB prevents compilation using UBSAN Owen Hilyard
2021-06-10 21:36 ` Stephen Hemminger
2021-06-11 9:19 ` Morten Brørup
2021-06-11 14:34 ` Aaron Conole [this message]
2021-06-11 18:15 ` Owen Hilyard
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-all 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=f7teed8zczx.fsf@redhat.com \
--to=aconole@redhat.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=ohilyard@iol.unh.edu \
--cc=rmody@marvell.com \
--cc=shshaikh@marvell.com \
--cc=stephen@networkplumber.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.