[dpdk-dev] Define statement with UB prevents compilation using UBSAN
Aaron Conole
aconole at redhat.com
Fri Jun 11 16:34:26 CEST 2021
Stephen Hemminger <stephen at networkplumber.org> writes:
> On Thu, 10 Jun 2021 16:51:37 -0400
> Owen Hilyard <ohilyard at 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.
More information about the dev
mailing list