public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
From: Yang Xiuwei <yangxiuwei@kylinos.cn>
To: axboe@kernel.dk
Cc: io-uring@vger.kernel.org, Yang Xiuwei <yangxiuwei@kylinos.cn>
Subject: [PATCH v2 0/2] build and compiler warning fixes
Date: Mon, 16 Mar 2026 09:36:19 +0800	[thread overview]
Message-ID: <20260316013621.115939-1-yangxiuwei@kylinos.cn> (raw)

Fix two issues: (1) send-zerocopy -Wstringop-truncation on ifr.ifr_name;
(2) cbpf_filter build failure when kernel headers lack openat2.h.

Changes since v1:
  - Patch 2/2: Per Jens's suggestion, use RESOLVE_IN_ROOT fallback instead
    of stubbing the test. 
  - Patch 1/2 unchanged.

  v1: https://lore.kernel.org/io-uring/20260314083538.791693-1-yangxiuwei@kylinos.cn/

Yang Xiuwei (2):
  examples/send-zerocopy: fix -Wstringop-truncation on ifr.ifr_name
  test/cbpf_filter: fix build when openat2.h is not available

 examples/send-zerocopy.c |  2 +-
 test/cbpf_filter.c       |  5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.25.1


             reply	other threads:[~2026-03-16  1:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-16  1:36 Yang Xiuwei [this message]
2026-03-16  1:36 ` [PATCH v2 1/2] examples/send-zerocopy: fix -Wstringop-truncation on ifr.ifr_name Yang Xiuwei
2026-03-16  1:36 ` [PATCH v2 2/2] test/cbpf_filter: fix build when openat2.h is not available Yang Xiuwei
2026-03-16 10:37 ` [PATCH v2 0/2] build and compiler warning fixes Jens Axboe

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=20260316013621.115939-1-yangxiuwei@kylinos.cn \
    --to=yangxiuwei@kylinos.cn \
    --cc=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox