Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp199559rdh; Sat, 23 Sep 2023 07:05:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0dTzauyCusiOkZjcYihHRh3jWIOzuPho55NYZst7DcsnoBnuxGs7Wq3UH3ax9iER2bOvY X-Received: by 2002:a05:6a21:3d84:b0:15d:80e5:a374 with SMTP id bj4-20020a056a213d8400b0015d80e5a374mr1834766pzc.53.1695477933990; Sat, 23 Sep 2023 07:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695477933; cv=none; d=google.com; s=arc-20160816; b=X2FmzAF+rc0TADH6le+EObwGN3NoykVeqtpTWsdWRZBr1qwS0rxCc6gsFdd+8ce8Ar 0kH7NzGoGT9HvyMw12Dxc4uV2zO8YeYqjKGM8SQ4qFQQgvvd5GQ6lwhadJhHszMM6afG 9pva4BkCERb0uTViio8RNoUs//wujuT6xrJNgWGn85mrh9/MOkSeFtGvCXVdfHP2Z/mt sfxuh9cEcXXNjKh7B4fBd8bN/KMKSpZlbNXC/Ku6/kNxhAoIP9uE5zno2D6DqN8VMtmI /Kzhchrq4p9bmbMQriRmNG9EFGTSElHsqZaAh5bncq9zU/cZhQn/UdBjhZcsNM8WmaaY CwqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=6j7juc4DVm+O/omSDnFgSvCJ2jKt1/TY4VRI13yi4vU=; fh=cX3mv6kMxnQgaAPfQlLJqKuxKhSROy5GtnJRmdqWnL8=; b=gbjCNfPaCmi8ngmJyPKKHY3eCivL8uHKxL9oWTajPnFnMwjHE+jnWsNNogVA2HMeQZ ou75DkKTN/lZqnTNTgR0iiUPQcDu+X1Qu8gTEoDBDZ53wOi826KroOGvByLxKdSVIvHR lVAUh+UwsBbu/K/pdvlhJgvUlM2vcIxaauiWn3jSjc3dOVe1oXw0Iz+VbSBJfMQ6o/MF a+B1/BuySIJUht3NCNEsrBnPcRFFRDGDjm2s8YaR0VJN3n7J0unVNI8qi4HX6snOYbs3 Z2SCUKNNAAY133IQk6bF5jPtbiG32RdZAGrBT4JMkv9TEAFQV0ycLfX5uh/gYR34sRHz Y0fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NISG+Ca0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id eb2-20020a056a004c8200b00690fe0f6e0dsi5973461pfb.68.2023.09.23.07.05.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 07:05:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=NISG+Ca0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 01A7D83472F6; Sat, 23 Sep 2023 07:05:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231400AbjIWOFb (ORCPT + 99 others); Sat, 23 Sep 2023 10:05:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231329AbjIWOF3 (ORCPT ); Sat, 23 Sep 2023 10:05:29 -0400 Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5DF11A8 for ; Sat, 23 Sep 2023 07:05:22 -0700 (PDT) Received: by mail-oo1-xc2b.google.com with SMTP id 006d021491bc7-57ad95c555eso2092828eaf.3 for ; Sat, 23 Sep 2023 07:05:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695477922; x=1696082722; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6j7juc4DVm+O/omSDnFgSvCJ2jKt1/TY4VRI13yi4vU=; b=NISG+Ca0j+vNCr3iIF1lh7WISqyIEh+3ZAWwcVIK4ZtTjaXU4gsGv8FK1dbVtQBvXP 6k/ngeHxEG5Ft1E3gyXLhVDCATopJQdixzfsZlg+fXtAIiCgvVuOYpvHBYtuMiz32nCy THbIsOc4ESFdcGOgGFkNLkBYBpQ+iPkAgw/K4HWhBgEC54pqhVVHzoFvayukBg6xloRT u258FlI2OAl3ykp2/efB32ZbUqUjVIhQ7Q95m/TY+DU4dAqlF2zQG4wUfWwppcgC/Ym/ TutokFH2OEifxsWuxE6lF4Su4Es8veIRbHdYaBghUnltEgIcbaw7kvN2FIyFC8qYv3U0 8Btw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695477922; x=1696082722; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6j7juc4DVm+O/omSDnFgSvCJ2jKt1/TY4VRI13yi4vU=; b=kmB4HIfHUDXko/bfl5FI/QkSlUetGfVIPnny+1/gz66x2qVYEdIz8+u8d/K2Fdsvzp al4NkeD0gtHa6wN8iWsHaKQfqoWsEGHmlcuqyT/mivHYLD8fzznX+EwU4vd5KHj2lUqA XB2wUzBQDuuSCPCv7ylgZ/DsI4PC2Sik5MEqhTjjzEVih89L72to3EuMqjG6iWacQpFM Sa5J5p5nbRrhLShKxNWyVb7h0OqazQf2nU4XbPuind3u1zkaljxggyhHyKPkhsFFRaa+ CjpSr0Z89KsmRVvilWo+TKhKwUFvvP6JMWgNWozniBPbqAII2tJtUnTYHn9POloqTiLD 4VoQ== X-Gm-Message-State: AOJu0YyJ6xuqaMK52aY4/RzfMra4UDs4cQ6Yg85rp5HizS8J6XLZdY/B OFiW0xFnHKeFzrNTmOBFfD3UWI9yXXRRwCbp0r8= X-Received: by 2002:a05:6870:f60a:b0:1d5:21f9:7272 with SMTP id ek10-20020a056870f60a00b001d521f97272mr2315995oab.23.1695477921949; Sat, 23 Sep 2023 07:05:21 -0700 (PDT) MIME-Version: 1.0 References: <20230920192300.3772199-1-goldstein.w.n@gmail.com> <202309231130.ZI5MdlDc-lkp@intel.com> In-Reply-To: <202309231130.ZI5MdlDc-lkp@intel.com> From: Noah Goldstein Date: Sat, 23 Sep 2023 09:05:10 -0500 Message-ID: Subject: Re: x86/csum: Remove unnecessary odd handling To: kernel test robot Cc: x86@kernel.org, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, edumazet@google.com, tglx@linutronix.de, mingo@redhat.com, torvalds@linux-foundation.org, bp@alien8.de, dave.hansen@linux.intel.com, David.Laight@aculab.com, hpa@zytor.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 23 Sep 2023 07:05:31 -0700 (PDT) X-Spam-Level: ** On Fri, Sep 22, 2023 at 10:25=E2=80=AFPM kernel test robot = wrote: > > Hi Noah, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on tip/x86/core] > [also build test WARNING on tip/master tip/auto-latest linus/master v6.6-= rc2 next-20230921] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Noah-Goldstein/x86= -csum-Remove-unnecessary-odd-handling/20230921-032450 > base: tip/x86/core > patch link: https://lore.kernel.org/r/20230920192300.3772199-1-goldste= in.w.n%40gmail.com > patch subject: x86/csum: Remove unnecessary odd handling > config: x86_64-randconfig-121-20230921 (https://download.01.org/0day-ci/a= rchive/20230923/202309231130.ZI5MdlDc-lkp@intel.com/config) > compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 > reproduce (this is a W=3D1 build): (https://download.01.org/0day-ci/archi= ve/20230923/202309231130.ZI5MdlDc-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202309231130.ZI5MdlDc-lkp= @intel.com/ > > sparse warnings: (new ones prefixed by >>) > >> arch/x86/lib/csum-partial_64.c:16:45: sparse: sparse: incorrect type i= n return expression (different base types) @@ expected restricted __wsu= m @@ got unsigned long long @@ > arch/x86/lib/csum-partial_64.c:16:45: sparse: expected restricted = __wsum > arch/x86/lib/csum-partial_64.c:16:45: sparse: got unsigned long lo= ng > >> arch/x86/lib/csum-partial_64.c:16:45: sparse: sparse: incorrect type i= n return expression (different base types) @@ expected restricted __wsu= m @@ got unsigned long long @@ > arch/x86/lib/csum-partial_64.c:16:45: sparse: expected restricted = __wsum > arch/x86/lib/csum-partial_64.c:16:45: sparse: got unsigned long lo= ng > > vim +16 arch/x86/lib/csum-partial_64.c > > 13 > 14 static inline __wsum csum_finalize_sum(u64 temp64) > 15 { > > 16 return (temp64 + ror64(temp64, 32)) >> 32; > 17 } > 18 Just needs a `(__wsum)` cast. Should I post a new patch? > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki