🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12348

Re: [PATCH net-next] selftests: net: tcp_ao: make the netstat column pointer const

#12348
From: patchwork-bot+netdevbpf
Date: Fri, 06 Nov 2026 22:50
24 lines
8738 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue,  3 Nov 2026 11:54:19 -0500 you wrote:
> lookup_get_column() stores the result of strchr() on a const string in
> a plain char pointer. Since glibc 2.43, strchr() returns a const char
> pointer for a const argument when C23 features are enabled, as they
> are with _GNU_SOURCE, so gcc and clang warn:
> 
>   lib/proc.c:61:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
> 
> [...]

Here is the summary with links:
  - [net-next] selftests: net: tcp_ao: make the netstat column pointer const
    https://git.kernel.org/netdev/net-next/c/f13fc72ba243

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179400541366.914342.261781909192561321.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-358207-linux-kernel-netdev=dewy.ru
References: <20261103165419.687806-6-sashal@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-358207-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] selftests: net: tcp_ao: make the netstat column
 pointer const
Date: Fri, 06 Nov 2026 22:50:13 +0000
Organization: Usenet Network
Message-ID: <179400541366.914342.261781909192561321.git-patchwork-notify@kernel.org>
References: <20261103165419.687806-6-sashal@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3994804"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:WrGw+dgb1gIOkR7qbPz/WmJcKcQ= sha256:AGWxx1BdkRWTh+ktxtTFJdcn4ODIPlEjEBwKPZ0OPx0=
	sha1:9zo8/GYUVCAYzV05K/ZxFZKcquw= sha256:fdZ/cCfVCVp5Z1fQxTgjfuxj3PuB+GyvxeampTtC5J4=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 93863113366; Sat,  7 Nov 2026 01:51:21 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 1RECg5uwHeyg;
	Sat,  7 Nov 2026 01:51:17 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-358207-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 133CD113363; Sat,  7 Nov 2026 01:51:09 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 3B4572AE20; Fri,  6 Nov 2026 22:50:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794005416;
	b=ntQJHrLxaBvgHwEr4a8z5enqLhM5ehnOBOmhthqrVigRI/UDg/eS6hNw3l4AiEdejy64
	 KUrYpHAdY/CTcaY8DbVBo1zm0LiMpPmktbYqMfntZQK8I6jvO0maei/eyI8Rgj6WWIqP4
	 t45xcxJ8cpD0Tzz3liJtuwOuRYYn46eyJOWXrut3WvQT+4a415CTRpe4Q1PJWk84VexJE
	 guSrxVcY0mU5XU6hyXRClAejE623G8z8xsonnRJW1uFJZ3Z0HnVlDt3CTjBYCAvNgMu+2
	 yOPAuak7yZapwH9EoMGRZhPMNJY/uW2Nz+556Oec3L6njYTrn41NSWEErpAXs8jAt7A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794005416;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=oq7Q0sZymrgyh6DArpBQPyCYxYpbptvr9hfbW+1t4VE=;
	b=Z8iEo0+ITOXSSpauG7MzU5o+cmU9pEAr8gMavr0axZ3saFplGngnZBrHV2bUcTyjGv4e
	 2JkwzoeAsZKKolmoL1sZby9T9KFldwI5E7wWtxkq4Avn6DdkxcAN7m4CWH622itxA/udD
	 9V128JFhxS5VmaYr6/RH/wtmdtxoOWT5aG0YyTWWTe2PhwnGk894xefJjd6urQIjNkYA2
	 kxVY7MnzbfoKF5A+HtzgsILNea6EiFE/oLP9d+esKcT8ro/j93nA3a/2N+vnxgimVwKZM
	 V0I6u3kjvvX2oHmTQ4LotWjiPXWzPmNbPKkZqqLmC+srbsjyv6qcD98nUCDSZj8Z+7A==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JP46gEzg;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id AE8E4606D80A;
	Fri,  6 Nov 2026 22:50:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JP46gEzg
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794005415;
	b=MfnZVtFWouk0Dct5rdePj1VRiEB0Kk+ZmZGrEYGFwtU47Hll1wS0pES6h9TvhS1TGe4r
	 G7w+vIDazodRPqfWU+/3p4cFgU6yhpIApcsy6Eo6vTDTwGSt23wcUIgUV5epjfbtzQw25
	 6ntcH21feZxRoq6GbuKN8DJhr+U5eFBLFxeGUjxyuhMH7p0Sf5zwVuPfk/cv6S4/Kf1Sy
	 vdxBOE/Wg/d7oY/vpOvFEsQyWKdJcqq7spV7HsjQTWs4raXZhKl/OVYJ1JirYm+jogjkb
	 2biyYxcj78/JajaXDvlkMeOqcsjxDtR9pcRCU3Q5s60z9YginOtyEi71S2OI0xe7S+g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794005415;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=oq7Q0sZymrgyh6DArpBQPyCYxYpbptvr9hfbW+1t4VE=;
	b=4kxYmZWeEa/jUdIL4/O7RplZKhU+4GI0DrHkx6JFU6hH7uZc7j3VQ/R/bcsfCitIbsgA
	 OmgEqHYrDsWG1M7Y+JWYqaCLimQhu+bm6YgxKCfPzaKm0CXSzDVdQaV1Vo8dmSnJ5/tea
	 8uOMLFwBf6IacWVzgLvr9cqiVcqnUYqvAbysLS0f64x0AbBkav7ulZNfxPelSc1fdJwg7
	 ZLBNn+mD4phaeMg4j7aZUTIFMkE4I7CZa/9J5wmazRQF4wB9jFno2iGscmEIw/zqhK3Rk
	 BVoVZZLEev31v01TX7x1QVO+lU4lM9yq5NqvL39DUrkTzGH6nkua/X7BN5U2mCuJRbw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JP46gEzg;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91451606A335;
	Fri,  6 Nov 2026 22:50:15 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A62E1F008A2;
	Fri,  6 Nov 2026 22:50:15 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794005415;
	bh=oq7Q0sZymrgyh6DArpBQPyCYxYpbptvr9hfbW+1t4VE=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=JP46gEzgO72VU43tad1Q0GDHpk6hfltA7JqenV7QQijxxr/BBfilE4yXkhbzTKE4D
	 PEQHk+MIlE3/MD3T1+KEihhSbJ2uLhocwjJcgFCbgrfWEsUzm5zWmaQCygPJBRLRF6
	 Patp85D+b6p0MWo0bh+wDVnGQa61Bfqj+I/AzYKGL3DwiGQ1+2ftsRylTh0TOmgpwi
	 yDlWyFanYPhfiy+7k8feYDjvuMDT4XOQwfuLt7APcatQouKMFCNnUlcEQDVJbiDWLL
	 WN5HqvoQ+XegiuClqYLB+Qefy8ywFjxYYlhj7sEkVm7dvGKwVxPz/zF1p7MG0p/Y8j
	 JrqybyJ60Qb+g==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 210693A55EC2;
	Fri,  6 Nov 2026 22:50:15 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261103165419.687806-6-sashal@kernel.org>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, 0x7f454c46@gmail.com, shuah@kernel.org,
 netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
 linux-kernel@vger.kernel.org