All of lore.kernel.org
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Hungyu Lin <dennylin0707@gmail.com>
Cc: andrii@kernel.org, bpf@vger.kernel.org, ast@kernel.org,
	daniel@iogearbox.net, eddyz87@gmail.com, memxor@gmail.com,
	martin.lau@linux.dev, song@kernel.org, yonghong.song@linux.dev,
	jolsa@kernel.org, emil@etsalapatis.com, ihor.solodrai@linux.dev,
	alan.maguire@oracle.com, shuah@kernel.org,
	alexis.lothore@bootlin.com, luisflavieira@gmail.com,
	ameryhung@gmail.com, david.laight.linux@gmail.com,
	linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH bpf-next v4 0/3] Fix unaligned enum values in btf_dump
Date: Thu, 26 Nov 2026 21:00:11 +0000	[thread overview]
Message-ID: <179572681124.617567.14070682184136195830.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20261126011222.92180-1-dennylin0707@gmail.com>

Hello:

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

On Thu, 26 Nov 2026 01:12:19 +0000 you wrote:
> btf_dump_get_enum_value() reads unaligned enum values through
> btf_dump_get_bitfield_value() with a zero bit size, which shifts a
> __u64 by 64. Patch 1 copies unaligned enum data into an aligned buffer
> instead, as btf_dump_int_data() does. Patch 2 makes the zero check of
> enum bitfields read only the bytes of the bitfield, as Alexei suggested
> in the v3 review. Patch 3 adds the tests Alexei posted in the v1 review.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v4,1/3] libbpf: Fix sign extension of unaligned enums in btf_dump_get_enum_value()
    https://git.kernel.org/bpf/bpf-next/c/74ff49675ee3
  - [bpf-next,v4,2/3] libbpf: Fix zero detection of enum bitfields in BTF dumper
    https://git.kernel.org/bpf/bpf-next/c/3a3224cd0866
  - [bpf-next,v4,3/3] selftests/bpf: Dump unaligned enums and a zeroed fs_context
    https://git.kernel.org/bpf/bpf-next/c/dda6568362cf

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



      parent reply	other threads:[~2026-11-26 21:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  1:12 [PATCH bpf-next v4 0/3] Fix unaligned enum values in btf_dump Hungyu Lin
2026-11-26  1:12 ` [PATCH bpf-next v4 1/3] libbpf: Fix sign extension of unaligned enums in btf_dump_get_enum_value() Hungyu Lin
2026-11-26  1:12 ` [PATCH bpf-next v4 2/3] libbpf: Fix zero detection of enum bitfields in BTF dumper Hungyu Lin
2026-11-26  1:12 ` [PATCH bpf-next v4 3/3] selftests/bpf: Dump unaligned enums and a zeroed fs_context Hungyu Lin
2026-11-26 21:00 ` 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=179572681124.617567.14070682184136195830.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=alan.maguire@oracle.com \
    --cc=alexis.lothore@bootlin.com \
    --cc=ameryhung@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=david.laight.linux@gmail.com \
    --cc=dennylin0707@gmail.com \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=jolsa@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=luisflavieira@gmail.com \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=shuah@kernel.org \
    --cc=song@kernel.org \
    --cc=yonghong.song@linux.dev \
    /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.