Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1798389rbb; Tue, 27 Feb 2024 01:08:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXGT0V4MCoGO5Wt+o/dcDKX48J4ld65hkMAAISdA6WdIcmTdxU2QxWZKENqneaxpPVbv7/7nbo+1gjUumsKDoPJo860uq4Tij410nhGDg== X-Google-Smtp-Source: AGHT+IFlg1seOJZXP0plJahgsaQbErHSK8JlLrBHQYOdjDMoFpNHiAqIYCn6HSwcaB5jbYfH43xB X-Received: by 2002:aa7:d989:0:b0:565:833b:639c with SMTP id u9-20020aa7d989000000b00565833b639cmr6647941eds.23.1709024931193; Tue, 27 Feb 2024 01:08:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709024931; cv=pass; d=google.com; s=arc-20160816; b=ILYy/W8Y0vRQAnpCXvG7bBZqJuLDSsJoZVBKdtYRcg8DrSa+kMdk3gaUmsk6/ZycNy 1CJe11DnoHSGR/MTGpyI7lROlYiWMl6VBf8dxK744YgPwrM/y+N5OKmGtdnpNqvbAxtx 6vPHJAj3RYslmlUXnByfczCRthRlxGoOSrbVcmAavh0TcLGa7ZoSa5+h7zZ24elh6TfR bXo+piWrpIPJMSFljQTyuDvj0Y66jSvacI/gY/qyueKp7fsuf+9b0l1Ud8yUgYB1z3Gy 2GJQe6u472W1Vh70rDPl54+Nkp84Wp24bhtfdIxXUHDbCRXo/gWGfvIWIs5tce640QXh ruwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=nWDZ2zj8RhLA+e/LR6ZW41Ft+IJodiJtEXLpMcaC7rM=; fh=NNUPHCSWx0UPNG1ihvyEgLDgvDiVy/GH+/84KGdmMaI=; b=ubWLDU2EfxMHBtzZLTghYgbR3WK0PueCT+qPOkFX435pgygY4EKzn1MXi9LD1Hbn9r YhQGl0QpWC2Kw8QKUZ3A4AHNeqaW8SdfGh3utd9hS2ge49ZYCx58sZ6eFgSopIYsptpv Bzw19ZS1WSnQxKiFEvLYaxMyJYSWo+ENGa8J4cTA2tOskdvRxmFXD0BCQEaTSRuvRqod +CwKw/xT88bteLcJ+jNN9bwcGvn0GVRXjVjR7bwdP6SJVmWCBtpDwwj6H+N1zqmHJWir EnpVtmXLVqZR9xKk31hbCtwuCzShvzfZG2fLOo0/sRfy2HFfaIgEYYR2vfwPqc4mqIzl kJ5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SOUWJKmx; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-82910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t6-20020a05640203c600b00565bb7fdf70si527678edw.52.2024.02.27.01.08.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 01:08:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SOUWJKmx; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-82910-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82910-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 86F9D1F26BBB for ; Tue, 27 Feb 2024 09:07:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 849A5136991; Tue, 27 Feb 2024 09:06:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="SOUWJKmx" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 9012F130E27 for ; Tue, 27 Feb 2024 09:06:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709024810; cv=none; b=MZfOpZYx9+AW2u/nOB7ID5RJaWmiTbXNA0T90kp/1HPAAOJ1JyNygZdtx59ynjaXXdiXCJustZ9DqrFfFSuR7Vv1krab13WL7kH7UETvtXxNSONik9X0RhVnrYezEWKtqfwPqfMeO9THLrpWNc++lPmx+No0Bk+C1qhIstoEWVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709024810; c=relaxed/simple; bh=nWDZ2zj8RhLA+e/LR6ZW41Ft+IJodiJtEXLpMcaC7rM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=auYadoqYUMNYumMRXwFGT7R1Cc4epeE+/tkFbJy52X2PHRfmB+Yg76jbZepsHcHGB6HQ25f50RnRMRHXJcyr4xM+w9P1gVvNCV57IL172ekGwRD4lc7bAlOd8PtQRBuOyaDmuYGPCK45jDZTLR3fgZ99FM5PBfaWr3tWpR2VT/Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=SOUWJKmx; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709024806; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=nWDZ2zj8RhLA+e/LR6ZW41Ft+IJodiJtEXLpMcaC7rM=; b=SOUWJKmxtkEj0BjH3MU9Lo2+Ti9wam+HtF7gxOG0COyco51Fg+KnxufmSxDtatw/MEfxH7 Uk0p8NJfmUgRuHDHaD8476gsqWObg/wzT6PtVtVt1gBpkqx2VYduDXwxF9F5hPzyWqv1Zq NKrvwVYZijhwEs5+Q1YBtyKm/m8ut1s= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-626--md08Yf5ObmEQyIU4Pv4xw-1; Tue, 27 Feb 2024 04:06:44 -0500 X-MC-Unique: -md08Yf5ObmEQyIU4Pv4xw-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-41296f8d1e6so6211125e9.0 for ; Tue, 27 Feb 2024 01:06:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709024804; x=1709629604; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nWDZ2zj8RhLA+e/LR6ZW41Ft+IJodiJtEXLpMcaC7rM=; b=RoAbBkElPz2EIEVnJF2lg/k8Ck/XJSTKZj8ICnsu0GaW7EfceWnnf9yjXcVf3B+YZT VwbWbZJla/y7nrRZODZX1C0qIxT6IJmPwU3EJwRh1FUYd2kC47oiWuWsp2Cs+rSNSbfB ZHmEeLft5WwizYjop+5zA4J2VOjVWcNq5fK+husRs9VXQVpxtcL3WDWyGSCQST78xHFd 8mKkF/IQSUXgFiq3e+BgxmDHRosmngqGwAoEgRmpyttKvmxIcuUihFGpK7doO9OnmJrY h4YB0D5wKdlj5+J9tuAiEQzFkagSx194uQu59GHMPq1j09qOy0zMJoEimeT47daj2fJJ kiGQ== X-Gm-Message-State: AOJu0YxdXSDSyODcmfdmW4R4iHZzRQZ+IA8CeFVWyhk0Rjkf45oWuVSv ENsaWurl6dgSbEY52FpDxkubklwLlycxbTJLY1VofcTKs7eFdUydIZSJaBWJnpkmldlhHpHMPIf +16AHxe1Rs5PWB2Kfg6C2guTjt4objw80UXlOZox/gzDQ6vzSr68G/yrsebVaRg== X-Received: by 2002:a05:600c:358c:b0:412:abf5:cbf3 with SMTP id p12-20020a05600c358c00b00412abf5cbf3mr904754wmq.0.1709024803817; Tue, 27 Feb 2024 01:06:43 -0800 (PST) X-Received: by 2002:a05:600c:358c:b0:412:abf5:cbf3 with SMTP id p12-20020a05600c358c00b00412abf5cbf3mr904738wmq.0.1709024803484; Tue, 27 Feb 2024 01:06:43 -0800 (PST) Received: from gerbillo.redhat.com (146-241-245-60.dyn.eolo.it. [146.241.245.60]) by smtp.gmail.com with ESMTPSA id h13-20020a05600c314d00b00412a466f0c3sm6273243wmo.15.2024.02.27.01.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 01:06:43 -0800 (PST) Message-ID: Subject: Re: [PATCH net] kunit: Fix again checksum tests on big endian CPUs From: Paolo Abeni To: Andrew Morton Cc: "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , Charlie Jenkins , Palmer Dabbelt , Erhard Furtner , Christophe Leroy , "David S. Miller" , Jakub Kicinski Date: Tue, 27 Feb 2024 10:06:41 +0100 In-Reply-To: References: <73df3a9e95c2179119398ad1b4c84cdacbd8dfb6.1708684443.git.christophe.leroy@csgroup.eu> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJa9WyfVMOHDF6f0wRjFjxVoPO6p/ZDkuEa67KCpJnXNYipLJ3MYhdKWBZw0xc3LKiKc+nMfQlo76T/qHMDfRMaMhk+L8gWc3ZlRQFG0/Pd1pdQEiRuvfM5DUXDo/YOZLV0NfRFU9SmtIPhbdm9cV8Hf8mUwubihiJB/9zPvVq8xfiVbdT0sPzBtxW0fXwrbFxYAOFvT0UC2MjlIsukjmXOUJtdZqBE3v3Jf7VnjNVj9P58+MOx9iYo8jl3fNd7biyQWdP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-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: > > 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_fast_= csum") > > Signed-off-by: Christophe Leroy >=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 is= =20 > not a show stopper. No, it's not. Acked-by: Paolo Abeni I *think* this, despite the subject prefix, should go via Andrew's tree to avoid conflicts. @Andrew does the above fits you? Cheers, Paolo