🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6968

Re: [PATCH net] selftests/net: tcp_mmap: remove unused -k option and keepflag

#6968
From: patchwork-bot+netdevbpf
Date: Fri, 23 Oct 2026 23:10
25 lines
8722 bytes
Hello:

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

On Wed, 21 Oct 2026 08:26:58 -0700 you wrote:
> Commit aacb0c2e524c ("selftests: net: tcp_mmap must use
> TCP_ZEROCOPY_RECEIVE") removed the only read of keepflag in child_thread(),
> leaving the file-scope keepflag variable set by the -k option in main() but
> never read. This triggers a Clang 23 warning:
> 
>   tcp_mmap.c:91:12: error: variable 'keepflag' set but not used
>   [-Werror,-Wunused-but-set-global]
> 
> [...]

Here is the summary with links:
  - [net] selftests/net: tcp_mmap: remove unused -k option and keepflag
    https://git.kernel.org/netdev/net/c/5536d5553f27

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179279700507.1316845.5519230638747198240.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-351273-linux-kernel-netdev=dewy.ru
References: <20261021152658.2618709-1-gthelen@google.com>

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-351273-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] selftests/net: tcp_mmap: remove unused -k option and
 keepflag
Date: Fri, 23 Oct 2026 23:10:05 +0000
Organization: Usenet Network
Message-ID: <179279700507.1316845.5519230638747198240.git-patchwork-notify@kernel.org>
References: <20261021152658.2618709-1-gthelen@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="636876"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:vlhfoi2pAsGQFs0gTIUhr56uKW8= sha256:l3AnN/N3EM1Mj2cru99gT9pdILsKJwf8FC23O1c44Os=
	sha1:fj2lBAaGhrRw3ITwot3oVJPn2bc= sha256:+VZeBo1NA6vzSI8l6dDLHVP/+vAjwZIPZ1tQUm7g7ac=
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 856481115C3; Sat, 24 Oct 2026 02:10:31 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, 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 HhgWYCc6Oiv2;
	Sat, 24 Oct 2026 02:10:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-351273-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 0D9241115C1; Sat, 24 Oct 2026 02:10:17 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 7584D2A50A; Fri, 23 Oct 2026 23:10:12 +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=1792797008;
	b=j3H8Z1LNypruHUfyIX1t6FHSz1jXMds8g5GQMBV3BDmCCVqsRRaM2YWw5or5oozSKHEs
	 7iwRLvRUfJvTYYAyZHSEzk5p/2HVDkdf6Xi59AGD8gy/J77fT2LqXxxDe5Fekh2jBVjlh
	 aysftboP64MHNjGu4sQV82/h4wdd8/W38mQwiJ99Jr2EuTuj/5WrtYg9NjZb6ibDxo7fd
	 KWqX4/D+9S+PQD6qZPFE/Q5bL2DLccGzF5vFZLFMvDLyBgHi4LdUvlJ7zy66CdL+LrAmv
	 HVvpkPBr2lzmrtLtW/kU6pSnBXAY3dlJGd8/vwS4Hb1fNi/ImoRHwJJpVVZKZqqAByQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792797008;
	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=zHM+aLkD38BiAi+MSbLLo5ugg7Hz6jXiVc5/KY4ht3g=;
	b=Brji63y2ZvM40RxgjFSqkzvdv+ldp7hoKgwEoZq6fCCKw+env4qcu/e6I7KtuFkF/e8S
	 5aWLZkebAu4FwOzTVKuhRWiFbp+SyTyNXJu4PRCVZ73lJwFUbltNhf1HqNKTpdfxh/AS+
	 oHsTTXamjvlbBaIt8mfdVffvVRHvZ0LFlPkN+s9jL3OAL/90FCbZVdrLmSUuA17HLmI26
	 MwqBDdCWNeBfoRLjDAAEKiKDMfgrOq+2KPViAcktW2bVuyNfqN3Aah44ARyVZPjhxNhDu
	 47Ud67dzn0I2m/focZ/tPAUqqc5vIFKqUsvYjl7J9PDAUaikstdbWpAZSSyhK7cFJlA==
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=QgoGoZYP;
	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 3D07B606A329;
	Fri, 23 Oct 2026 23:10:08 +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=QgoGoZYP
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=1792797007;
	b=Mrahb5kIZTpu+pIf7DhlSYfAPOSzaO6X+mUdzz3C8EddxMMJZmbTXfnHzqi36A8Yfbfl
	 uFPqHZmcJUXkkt7yTSL9vZLVQ+7nCV+Z6b5E2SPhSYPpYmBMK9e+rosBeT2QpENM1PRJf
	 qJXbC3TiX2Z+BelttcPhbvTFnV8gk/e5oiM5k6D13gfzQaY1LCzqdGwpj6Qho4KqOkBsR
	 cS6OcU09n1xbRcdRqJKmw67sDKoOS05eiCYI7Ebi66xaMCQ6L1txhWb6HG8YvIcRIxQD2
	 SR6LdYDcUFa1fgqQoVRL2QvCo/W/8+R6DOQpC9YnBCJiWSxYP6gXX4SwAJHJTh/CwyQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792797007;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=zHM+aLkD38BiAi+MSbLLo5ugg7Hz6jXiVc5/KY4ht3g=;
	b=HGcHjhpm66MEQkTdezys5SvmY6p2jsFNLGpy5r+YVEzbROrhe3ubRyRShNIkcNRSFeW4
	 Y/BCURqrTPJRX5R8oM6Prgmmn295UiCobYXhmGD096ni3IKkSQpbTu+R9RJqnX9Zw2cRv
	 5MgrclrycvzeKAsKQwZlc8ze44nioWBehcd+/czphIZFgEF7URULq5loV295Jt82SDhNJ
	 hmZyuPvzp8RBX3zh/MqD+hzhe6d/ShaP1k4dvCi549hBy88QBg6fRNFX4EIPrjiKceRO7
	 N6ovhpPrJG0LWiuyyMgTrmhzweRWKqs/7m2QnAV7lTbl4YMGEnlOdpWUNLeeF63s9Uw==
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=QgoGoZYP;
	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 15AE5606A31A;
	Fri, 23 Oct 2026 23:10:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E7691F01825;
	Fri, 23 Oct 2026 23:10:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792797006;
	bh=zHM+aLkD38BiAi+MSbLLo5ugg7Hz6jXiVc5/KY4ht3g=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=QgoGoZYPi/e6cV2iFUxXOCzmH0Ig5R8L2zq36mgsrRIa59lDrZD1GJPcYsAraJhv9
	 DQYrP1yPnr1t97yT/kty/z5/kLWjCNY8FkHTdHTVw/BAAbFxYwWbrW6ovcnvxhy6/w
	 YWkvirEff55h1Qac39FURO/UCYSHhzBhwVRB+qKLv0ezzjd5sAFNBWSBO9QIlUc1OK
	 rO0KWK1BZb9CIIDMpKSTQQlOmX1UHTEvtkpilvz+IT/nkyoga+vCkwhEAVBOq1eWlI
	 AV3HDu6X1nZp1M73dsQkFwdqp4nJu3tvIzhnANemKyYc48su/DtDSHFLYBohJHgYwn
	 /K+I1ppMYVB9Q==
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 44427391B16B;
	Fri, 23 Oct 2026 23:10:06 +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: <20261021152658.2618709-1-gthelen@google.com>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, shuah@kernel.org, soheil@google.com,
 netdev@vger.kernel.org, linux-kselftest@vger.kernel.org,
 linux-kernel@vger.kernel.org, llvm@lists.linux.dev