From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14A31C433F5 for ; Wed, 25 May 2022 22:07:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234479AbiEYWHo (ORCPT ); Wed, 25 May 2022 18:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239633AbiEYWHn (ORCPT ); Wed, 25 May 2022 18:07:43 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 370389D4C2 for ; Wed, 25 May 2022 15:07:38 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id 67-20020a1c1946000000b00397382b44f4so81478wmz.2 for ; Wed, 25 May 2022 15:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jrtc27.com; s=gmail.jrtc27.user; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Q7sKJrWCeWlhDVlmgSMW2NcMhM9lTStJjQlrUPtXIXA=; b=eopDrfIHJM8IF7mRG8hA1fo2Z2Wv/QglL0DtGpj2qBJXnvOnh1uFoTbEHVqbkZr0hi 1O2KEk/Z9GSg59UhdSmK3b5z3iVSpalv+n1BwIci6d50WLLJInpEBSGAw4ky71skcvD3 /b3NE+1mQei8LSfhnv+8SaHZvIbv7uB50EyBNoO8jdsEisPSiaNB0on7Qtwfa6I2YuiZ GCbv4e0aOQZctw6zlpkceuWHL3kV8Yso/gqdhaZRhoFUH8r3QRigsVls1uRN5+AABNuZ wnVVqB0tjHY354zrffCBXnjwbQ3PE3ULsXel0OiEr4U8q824qwvFh3Ssnth61pUZV7CM z9Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Q7sKJrWCeWlhDVlmgSMW2NcMhM9lTStJjQlrUPtXIXA=; b=PyMWY3F5AFxwNb0zK56I9G2ELUimRMtRg6aaoBbVv4/CbGSXf1wikDCNpJzlueM0nF VJfMdQUTXj+yOhBlTmQS7CtLi/O1fxdYq5IxtnYwlbOpPJcgzE9cG0IuQ9rC0vPQDa0P yUYLMqAgMLTOdo7rnw8R2ml++IrIBA6nwSfM0sO76Farbbt6L1Hs+SNtGqqEA9KXH+Dv 6kKV61Z1t1R5f2Egx2T95nqv6kYCp2UBAunACwWa8zTKBKc/b1+XzmRJsPZlItk0KSKy rXS0ZC5bOh5MJiFUHUrcPI3xq3QoCaa3aoUjLSwCsQOSfutWsBw0z3W0uUGQ8Xk77nvj ubgA== X-Gm-Message-State: AOAM530rzNWtnG2zLQ3IxQkDL3QBkJ0DaTuih+AY2w2YXgMpLhmhxjtL c0RghnXIpcYpGsGFPXv+fqEZKQ== X-Google-Smtp-Source: ABdhPJxRatrP6XqsNDLEYgx/Gmo8kTof4rjho1S2HneKMFITFunNGJP1JxO1h65VIohlIXxM0NUT5A== X-Received: by 2002:a7b:cb4b:0:b0:397:3dd8:917a with SMTP id v11-20020a7bcb4b000000b003973dd8917amr10399106wmj.20.1653516456713; Wed, 25 May 2022 15:07:36 -0700 (PDT) Received: from smtpclient.apple (global-5-141.nat-2.net.cam.ac.uk. [131.111.5.141]) by smtp.gmail.com with ESMTPSA id c15-20020a056000184f00b0020feb9c44c2sm95151wri.20.2022.05.25.15.07.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 May 2022 15:07:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Subject: Re: [linux-next:master] BUILD REGRESSION 8cb8311e95e3bb58bd84d6350365f14a718faa6d From: Jessica Clarke In-Reply-To: <20220525145056.953631743a4c494aabf000dc@linux-foundation.org> Date: Wed, 25 May 2022 23:07:35 +0100 Cc: kernel test robot , virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-riscv@lists.infradead.org, linux-rdma@vger.kernel.org, linux-pci@vger.kernel.org, linux-parport@lists.infradead.org, linux-omap@vger.kernel.org, linux-mm@kvack.org, linux-fbdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, dri-devel@lists.freedesktop.org, bpf@vger.kernel.org, amd-gfx@lists.freedesktop.org, alsa-devel@alsa-project.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <628ea118.wJYf60YnZco0hs9o%lkp@intel.com> <20220525145056.953631743a4c494aabf000dc@linux-foundation.org> To: Andrew Morton X-Mailer: Apple Mail (2.3696.80.82.1.1) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 25 May 2022, at 22:50, Andrew Morton = wrote: >=20 > On Thu, 26 May 2022 05:35:20 +0800 kernel test robot = wrote: >=20 >> tree/branch: = https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git = master >> branch HEAD: 8cb8311e95e3bb58bd84d6350365f14a718faa6d Add linux-next = specific files for 20220525 >>=20 >> Error/Warning reports: >>=20 >> ... >>=20 >> Unverified Error/Warning (likely false positive, please contact us if = interested): >=20 > Could be so. >=20 >> mm/shmem.c:1948 shmem_getpage_gfp() warn: should '(((1) << 12) / 512) = << folio_order(folio)' be a 64 bit type? >=20 > I've been seeing this one for a while. And from this report I can't > figure out what tool emitted it. Clang? >=20 >>=20 >> ... >>=20 >> |-- i386-randconfig-m021 >> | `-- = mm-shmem.c-shmem_getpage_gfp()-warn:should-((()-)-)-folio_order(folio)-be-= a-bit-type >=20 > If you're going to use randconfig then shouldn't you make the config > available? Or maybe quote the KCONFIG_SEED - presumably there's a way > for others to regenerate. >=20 > Anyway, the warning seems wrong to me. >=20 >=20 > #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) >=20 > #define BLOCKS_PER_PAGE (PAGE_SIZE/512) >=20 > inode->i_blocks +=3D BLOCKS_PER_PAGE << folio_order(folio); >=20 > so the RHS here should have unsigned long type. Being able to = generate > the cpp output would be helpful. That requires the .config. This is i386, so an unsigned long is 32-bit, but i_blocks is a blkcnt_t i.e. a u64, which makes the shift without a cast of the LHS fishy. Jess