DPDK patches and discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Owen Hilyard <ohilyard@iol.unh.edu>
Cc: Aaron Conole <aconole@redhat.com>,
	David Marchand <david.marchand@redhat.com>, dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] Define statement with UB prevents compilation using UBSAN
Date: Thu, 10 Jun 2021 14:36:04 -0700	[thread overview]
Message-ID: <20210610143604.48278bcc@hermes.local> (raw)
In-Reply-To: <CAHx6DYC32D9FTsCXpRbShgCcKTwMB9GOp0HZBBcUBc8NjZ7y5A@mail.gmail.com>

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)?

  reply	other threads:[~2021-06-10 21:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10 20:51 Owen Hilyard
2021-06-10 21:36 ` Stephen Hemminger [this message]
2021-06-11  9:19   ` Morten Brørup
2021-06-11 14:34   ` Aaron Conole
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=20210610143604.48278bcc@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=aconole@redhat.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ohilyard@iol.unh.edu \
    /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;
as well as URLs for NNTP newsgroup(s).