public inbox for bpf@vger.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Song Liu <song@kernel.org>
Cc: bpf@vger.kernel.org, daniel@iogearbox.net, ast@kernel.org,
	puranjay@kernel.org, xukuohai@huaweicloud.com,
	kernel-team@meta.com, leitao@debian.org
Subject: Re: [PATCH bpf-next] bpf: arm64: Silent "UBSAN: negation-overflow" warning
Date: Sun, 23 Feb 2025 21:10:30 +0000	[thread overview]
Message-ID: <174034503027.2621534.7543015920062890065.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250218080240.2431257-1-song@kernel.org>

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@kernel.org>:

On Tue, 18 Feb 2025 00:02:40 -0800 you wrote:
> With UBSAN, test_bpf.ko triggers warnings like:
> 
> UBSAN: negation-overflow in arch/arm64/net/bpf_jit_comp.c:1333:28
> negation of -2147483648 cannot be represented in type 's32' (aka 'int'):
> 
> Silent these warnings by casting imm to u32 first.
> 
> [...]

Here is the summary with links:
  - [bpf-next] bpf: arm64: Silent "UBSAN: negation-overflow" warning
    https://git.kernel.org/bpf/bpf-next/c/239860828f86

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



      parent reply	other threads:[~2025-02-23 21:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-18  8:02 [PATCH bpf-next] bpf: arm64: Silent "UBSAN: negation-overflow" warning Song Liu
2025-02-20 12:34 ` Xu Kuohai
2025-02-20 16:05   ` Song Liu
2025-02-21  9:39 ` Breno Leitao
2025-02-23 21:10 ` patchwork-bot+netdevbpf [this message]

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=174034503027.2621534.7543015920062890065.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=kernel-team@meta.com \
    --cc=leitao@debian.org \
    --cc=puranjay@kernel.org \
    --cc=song@kernel.org \
    --cc=xukuohai@huaweicloud.com \
    /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