Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp201974rbe; Wed, 28 Feb 2024 17:52:10 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXnjHdnAlgtBBqIhCgViIQbAYl7lDzKCNwdn/ZY3P1/6juTBaIAffTlxp6On+YyA0aR+aENEPRGLh7uqEc9V9g+5JTmqaVRQaRg3ReQMw== X-Google-Smtp-Source: AGHT+IGTqnc20t28zXFoQiIjW0uiT+nCgOFJs09cTWGA1V05czVHA+PedSAEUwTCa1j4W4Ep4bg/ X-Received: by 2002:ad4:5a10:0:b0:68f:ad8d:7686 with SMTP id ei16-20020ad45a10000000b0068fad8d7686mr872591qvb.49.1709171529891; Wed, 28 Feb 2024 17:52:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709171529; cv=pass; d=google.com; s=arc-20160816; b=jCax3xTlAbuQwemQHZvP6Sb9Li4eWRvN1jsZcP72MTP0ktoAXEQDNla7nqDSetuYUl txJCIk+HpwuQafPmmISuOQYMfDTid14Nakykj5xkJTyHfVbQXLh3FJXjEFEPPtWZpzEr F9Spwq7ZyDPibdzFj07/PMtOp7TVk6gOC3j+3ZWJAQK73XEvlPoIJmkpS8wNlmSlR7vk KFA+bBOx7fQHnXThrzMlVzWdeEEeHDq7cpL9GkpImVknJakp5Na4huAu/HeeOzoUqbFf cLYB243m3xhICoSmJ6cQOhAkqvynGk0afqtlorkzqxu7U2H4dHrFktxgMszxeS9ltBjm XPaA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Hia628mJqk0mdl+TojiKwXcdzR4GIqXVs2Civd7u4js=; fh=TFNiTq5HkGb8/OAZfgyonVTI6gh9qe6bmVO6PPJ//Lk=; b=FQIcfIp6Y9xJxJYBDeznh5wtt8U1gM9lUQ3DcoOoHHaQ/2dZ+/Mo1gDJTT3vidj/VS T3HGcG8j/3Ykz/vt/o2LvpfDTVc/y03Xeqm3nzDcl6xkwVqqGq4hX8vOLrSxcWvniJNz Pxs98rRrTLZmyAYi1roJ6fm3Ilj4NQgehjD4lJ1yIkfH0XKIf0N1/jW0MhHPu6rBPgsx 6qnN7e2SHAKbnQ1dx51cliwpZD3J90UFpeBKTxyvsip049QPRzS9uyF0EKn1UQjRO0gI R1LpHim21fFaOg3nvj4PE7w9k+5A/ussqEb5yuumw95+9dl79Ls1sMCpY6PfyksKcswr 33qw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QygaAOrh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c12-20020a056214224c00b0068fe2c00ddcsi400251qvc.538.2024.02.28.17.52.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 17:52:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QygaAOrh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A10ED1C2186C for ; Thu, 29 Feb 2024 01:52:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45BE1364A0; Thu, 29 Feb 2024 01:52:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QygaAOrh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6EC412E84B; Thu, 29 Feb 2024 01:52:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709171520; cv=none; b=jHYX0zuSHVBgyfOwsc7xSW/4C0GRy9KX+qGc4X8evD7yMpgNvuAdFwVaq30e5yypkeCTMFZ5BJ3KYGIGWDika513g783bamIP7deBm1U99eVXzllg/Doqj1KWQrVFw0zvHr6hkeQWaMFL9isr6cYAu4FO3IX9ROvYRg7+0DP3UE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709171520; c=relaxed/simple; bh=Hia628mJqk0mdl+TojiKwXcdzR4GIqXVs2Civd7u4js=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mb+YXU3mkIofY7SbPmyuA8gCoDP/K8NZPlZwPB0XjNCqxJv5Fi6aCu9gGuPE8nXl7VPoJRT/SxDQn7n+KL3KsDVOnFovvy1GPHpnCHPFdJ57gxEBiSxSP+dBdeFAilIMB1J4ZtPVYrcWnoPehM4CYsUw+ji4zmwrU/ZbngU/Ej0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QygaAOrh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94192C433C7; Thu, 29 Feb 2024 01:51:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709171519; bh=Hia628mJqk0mdl+TojiKwXcdzR4GIqXVs2Civd7u4js=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QygaAOrhxDP/E65REvdBLymUwi8i7QPMMEbe2JehTbFs80zs6iPxQ+di+0u8SZmvQ TbJPsxrT3GyQ9/X4auIGQQcjY29hRg+BWRvLSbU5krVgWcXwcD7l/m7Fh/QN+z7xvJ nvngj1/0aOcWCKxP82VBNQAHPIM+mHhbiWGO/ADy6YKocTZVDJl+P/6fZYI67l/1R6 0PiyL2Rzu9GsO26iwkRN8agZG7fzPzzc694OzLNoJVGDKJBrtCX52hDAhgp2gDrBTB RP8bfcuPwRXtLbul9T2YQPvV1Y9i+mL+sijCBH5n6JC+r1pmtS6I+ewNksvWyeqKxL BzmC1aTZ7Q39Q== Date: Wed, 28 Feb 2024 17:51:58 -0800 From: Jakub Kicinski To: Andrew Morton Cc: Paolo Abeni , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Charlie Jenkins , Palmer Dabbelt , Erhard Furtner , Christophe Leroy , "David S. Miller" Subject: Re: [PATCH net] kunit: Fix again checksum tests on big endian CPUs Message-ID: <20240228175158.04c0aa1b@kernel.org> In-Reply-To: References: <73df3a9e95c2179119398ad1b4c84cdacbd8dfb6.1708684443.git.christophe.leroy@csgroup.eu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 27 Feb 2024 10:06:41 +0100 Paolo Abeni wrote: > On Sat, 2024-02-24 at 07:44 +0000, Christophe Leroy wrote: > > Hi, > >=20 > > Le 23/02/2024 =C3=A0 11:41, Christophe Leroy a =C3=A9crit=C2=A0: =20 > > > Commit b38460bc463c ("kunit: Fix checksum tests on big endian CPUs") > > > fixed endianness issues with kunit checksum tests, but then > > > commit 6f4c45cbcb00 ("kunit: Add tests for csum_ipv6_magic and > > > ip_fast_csum") introduced new issues on big endian CPUs. Those issues > > > are once again reflected by the warnings reported by sparse. > > >=20 > > > So, fix them with the same approach, perform proper conversion in > > > order to support both little and big endian CPUs. Once the conversions > > > are properly done and the right types used, the sparse warnings are > > > cleared as well. > > >=20 > > > Reported-by: Erhard Furtner > > > Fixes: 6f4c45cbcb00 ("kunit: Add tests for csum_ipv6_magic and ip_fas= t_csum") > > > Signed-off-by: Christophe Leroy =20 > >=20 > > netdev checkpatch complains about "1 blamed authors not CCed:=20 > > palmer@rivosinc.com; 1 maintainers not CCed: palmer@rivosinc.com " > >=20 > > Palmer was copied but as Palmer Dabbelt . Hope it i= s=20 > > not a show stopper. =20 >=20 > No, it's not. >=20 > Acked-by: Paolo Abeni >=20 > I *think* this, despite the subject prefix, should go via Andrew's tree > to avoid conflicts. >=20 > @Andrew does the above fits you? I don't see this in linux-next, so unless told otherwise I'll merge it and ship to Linus tomorrow.