From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B20922D785 for ; Mon, 16 Mar 2026 01:36:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=117.135.210.3 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773625019; cv=none; b=hOWndkNG74D4qOA/BhaE5qy7veqJ+73zCp3Cs6YkQFkoW6QdtyCEkFi4vABPwmRelsSksTe1YyEdI6sdDwRlFQ8Dtt/ltqHYFWj9TPV0AvWuGfrgkoWKdu/Nbcg398uU7gna982bxqbnGGJ3VGTqiNp9+HaV0EeADtgRp17J+lE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773625019; c=relaxed/simple; bh=CqbG/H8XX4z/oLeo4j7dkS87UwksdpQKiJG7OgNTP78=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=H6ITlIJHxur+kdi8oKbxnPLriYUfZzB3EkeD2Eu0FTV1cbpdqOH7WuIog95exgnwkwlWUdtHTO81JQV0Rsi0s2AoNnFDaYYWfc10MTDsqziEApyHu1YXGSr6wi192+bU/veJY0Xv+l/gMBQdI/xQ6OW2XLsX3Qv+K5/m7yXKPk8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=163.com; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b=NccG6VOi; arc=none smtp.client-ip=117.135.210.3 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="NccG6VOi" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=47 5KiEzpdzHQUi5iuxlgzt0ghMx8b0xQBQ/60E3Vte8=; b=NccG6VOi0YbQBFlpKs zDQ9zt6Vm32F7YtHeAAEaZ4bt62DJZEFkVr0kSEqCOFlICjexxltgYHw1JqUVJ6d VvnBujA2YmddelYlhiiV+XstxlYRLka1UaRnn0B8TdrMiB9v1ioD9Qx/xBr5TEpg 4d8N1eRCf2hYFdptZ+BFFSmdY= Received: from localhost.localdomain (unknown []) by gzga-smtp-mtada-g1-1 (Coremail) with SMTP id _____wB3LduWXrdpW5DGBA--.28271S2; Mon, 16 Mar 2026 09:36:24 +0800 (CST) From: Yang Xiuwei To: axboe@kernel.dk Cc: io-uring@vger.kernel.org, Yang Xiuwei Subject: [PATCH v2 0/2] build and compiler warning fixes Date: Mon, 16 Mar 2026 09:36:19 +0800 Message-Id: <20260316013621.115939-1-yangxiuwei@kylinos.cn> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:_____wB3LduWXrdpW5DGBA--.28271S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZry8CF4UCF1UJF17Xr1UKFg_yoWxAwc_Kr WfKr4xJwn3tF4jya1fuF18Xa4qka4rKrsa9w4qya4UArZ8Zws7GF4DKr10gr4UuF93Ja4a yrn0yF4jqw17ZjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUbwvKUUUUUU== Sender: yangxiuwei2025@163.com X-CM-SenderInfo: p1dqw55lxzvxisqskqqrwthudrp/xtbC6RoGlmm3Xpp49QAA30 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