๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10448

Re: [PATCH net-next] net: stmmac: selftests: Add missing endianness conversions

#10448
From: Nicolai Buchwitz
Date: Tue, 03 Nov 2026 13:57
24 lines
9302 bytes
Hi Maxime

On 3.11.2026 13:22, Maxime Chevallier wrote:
> The kbuild bot found some endianness issues in the stmmac ethtool
> selftests [1] let's address these.
> 
> In practice these missing conversions didn't cause any issue, as the
> masks / values on which the conversions were missing were either always
> 0 or ~0, so skipping the byte swaps lead to the same value being passed
> anyway.
> 
> [1]: 
> https://lore.kernel.org/oe-kbuild-all/202611010511.Mk620DTd-lkp@intel.com/
> 
> Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
> ---

> [...]

Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>

Thanks,
Nicolai
Technical Details
Message-ID: <d0629035094621d224bc30fa7fda09ec@tipi-net.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355664-linux-kernel-netdev=dewy.ru
References: <20261103122249.951523-1-maxime.chevallier@bootlin.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-355664-linux-kernel-netdev=dewy.ru
From: nb@tipi-net.de (Nicolai Buchwitz)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] net: stmmac: selftests: Add missing endianness
 conversions
Date: Tue, 03 Nov 2026 14:57:06 +0100
Organization: Usenet Network
Message-ID: <d0629035094621d224bc30fa7fda09ec@tipi-net.de>
References: <20261103122249.951523-1-maxime.chevallier@bootlin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="3188050"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:O29stt4PhKMjGKcUsDd/3EEKUVE= sha256:6MoUszoSRYPbKhkV6R1kR3/+UC80isemGZf0qCL4M5s=
	sha1:jIaYAegYZf/U/D7u/2Du5rh4uTM= sha256:TzoTz3kclpemT4BrxWaX2xBUs89/5qrYkjU23BDm5Kk=
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 09E581128F6; Tue,  3 Nov 2026 17:37:11 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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=tipi-net.de
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 L_hzxaIkBrgN;
	Tue,  3 Nov 2026 17:37:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-355664-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 7CAE61128F5; Tue,  3 Nov 2026 17:36:58 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id AF3E985ED5; Tue,  3 Nov 2026 13:57:31 +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=1793714241;
	b=s2oSly9uVHzSZlZMyFGy4g0+ZyxTPHSxZHT8CmnRDdgT9eb2ndkkMMBWkebwjXW421Bk
	 DYvduSDK+jAN60Kd4vyUTJpeK0/cMJNIVrMe7tSha5GTa85eyST9eqKoJk5/crpsljYBX
	 ndvj4IFhycVaj6f+18XO1dPL+6TbOTv6WGdDu++6MWEw1x5mRg2v19YGxSUeu9WXpKyBQ
	 k/NMRan+rb98jkPWSkVs/4hGZJdNxzhRoS6m6pieNdqD/fFYz2S05DkvHIpvLmaxomFyI
	 6RAQlogOSQ/R/1LMhdOcIcdq+XtIfxLzH6L71SgMbEi89jZwrk/yV88R1TeEXppzTPA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793714241;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Date:From:To:Cc:
	 Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type:
	 Content-Transfer-Encoding:X-Last-TLS-Session-Version;
	bh=lcg1wBxiDdcDGgK7Dz3chEfZ6MvrdqS3Jh/+FcQy5Sg=;
	b=dzN0N98F6NYBLWk2wYgOSH4T+dOuPiEkJ95b264wsR+QtRA+DzUACZ621pQzj4lnPrMy
	 eAbiMuFmxG6vajjlN6oKzyoW7twHEvMNPKFNtsVfrB5km19w328LB/mbOrMM9vnXKvKsq
	 M0YgTQvXWCy73XkMoPCAIbpQomZ1c77Vca0Po0tXAG97pzACbtOklOuAgh5dawShZ87rV
	 T8CXdOSUK4GKvNQNZM6/CtfhkMF2v5p+fEZS+4OfALd1Ayv8lFf3A6cIltpHeYPuOq5iJ
	 W48FsDv7KOGx1juCYNqnmBm0KhrQgb0gfTO5Li1W29PhzE18jZ6zY+zg4HHkoZaLUvQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=qNi5cLVl;
	dmarc=none header.from=tipi-net.de;
	spf=pass smtp.mailfrom=tipi-net.de;
	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 96761606D803;
	Tue,  3 Nov 2026 13:57:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=qNi5cLVl
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793714230;
	b=SxthROSKiEud3MJnLHD/wP/LQGv4jnObY1CIHnaO1LbUWbda4LOWUUBVPrZaCnvwwPKp
	 EimWdIw5ucT02pMIiV4jH1c0gotgnrFFCBLMc7I+imrNdG6pmySzMZqWN0klq1JLu++Nf
	 zmw86/4+Y4qv8eyziPXVER+MdaOBRwB4W3Z1TUqMA0jNdmY0TVgo4Q/oi0FwoEEsJm7yJ
	 GQtZCl/fzvsE6T5ICw8W8v0D2Wnb4SizsNggXBdsgd9GGdpLMGzRwv4BbVrT4pzabrNuh
	 XQqYtbf23rXo5PDCIc+s/ApXi6LBv9NypcCAZZv6v7viyFDtZLEWYcQaqSvYIADFkgA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793714230;
	h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc:
	 Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type:
	 Content-Transfer-Encoding:X-Last-TLS-Session-Version;
	bh=lcg1wBxiDdcDGgK7Dz3chEfZ6MvrdqS3Jh/+FcQy5Sg=;
	b=xS1qLjVCM7sVHxcjeG/woCCc7fU8V5+KCuhnZmKx2G6AnagAiEoMckvliin77a66rLhC
	 NtHpQVhytvxVsKJ+mdmAXtYJSiNPndABL4+Qt8S370/7+3a6tLjm1CECFbc1fQTGcGXs+
	 td+6VU1InLEsFWpVP/sWKZDX6P4xwzmyIc5Ad7VPBO+cbvwCLQAdt9Jja5sg2eahhh8pE
	 IeKnhqNf8dY/sRoE62ffgRgjT1p1vFQwVlXFmbcxeKNNtZpRxpLrBSgCs/4hsLvye9PLK
	 VzRadLVvLeDQCxbgaDEBO0PkITjXUcFzBY6zhxD0LtHfZ98oy3kbc68fShuvEZ9Obnw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=tipi-net.de;
	spf=pass smtp.mailfrom=tipi-net.de;
	dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=qNi5cLVl;
	arc=none smtp.remote-ip=194.13.80.246
X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246])
	(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 182A7606A328;
	Tue,  3 Nov 2026 13:57:09 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 182A7606A328
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de
X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id ACCC3A036B;
	Tue, 03 Nov 2026 14:57:06 +0100 (CET)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim;
	t=1793714227; h=from:subject:date:message-id:to:cc:mime-version:content-type:
	 content-transfer-encoding:in-reply-to:references;
	bh=lcg1wBxiDdcDGgK7Dz3chEfZ6MvrdqS3Jh/+FcQy5Sg=;
	b=qNi5cLVlSfUYbpjb4RcosnYY/OVuGLypm+UftvZAGws4OFdmSrE/Yb+jZD0LAiU85GuNCE
	UDlu0Y6FYSNMzT+/VtF2gt9GeYQ7WjmLP09jNyMUQabQ6+bacZN7XOF2qP89N2d8t9jafR
	5ju20EeK3QXBIaQtixADDhtX+8Uxh9eT2mwtvcHw6UvJm5n5ly/MLVKeIf7kox4BUxW23h
	PFsSdPVkzA3y6a4Za0O30jl4jpO31Vmz8qJ2Bl3MdAHlsdsytpj3N24IdebuOBQlOJ/hKg
	0ZhSbqo4tLqsbAMw/s36gfRyvnTupeHhGE/q8+mcWLWPePx6zDMkjLxIHwvsPw==
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-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, Jakub Kicinski <kuba@kernel.org>,
 davem@davemloft.net, Eric Dumazet <edumazet@google.com>, Paolo Abeni
 <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Maxime Coquelin
 <mcoquelin.stm32@gmail.com>, Alexandre Torgue
 <alexandre.torgue@foss.st.com>, Russell King <linux@armlinux.org.uk>,
 thomas.petazzoni@bootlin.com, Alexis Lothorรฉ
 <alexis.lothore@bootlin.com>, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
X-In-Reply-To: <20261103122249.951523-1-maxime.chevallier@bootlin.com>
X-Sender: nb@tipi-net.de
X-Last-TLS-Session-Version: TLSv1.3