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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4707C433FE for ; Tue, 1 Mar 2022 20:16:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7FD5C8D0003; Tue, 1 Mar 2022 15:16:52 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7ADBF8D0001; Tue, 1 Mar 2022 15:16:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 677208D0003; Tue, 1 Mar 2022 15:16:52 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0136.hostedemail.com [216.40.44.136]) by kanga.kvack.org (Postfix) with ESMTP id 594AC8D0001 for ; Tue, 1 Mar 2022 15:16:52 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 16A618249980 for ; Tue, 1 Mar 2022 20:16:52 +0000 (UTC) X-FDA: 79196925864.22.CA2B5DB Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by imf26.hostedemail.com (Postfix) with ESMTP id 813DF14000E for ; Tue, 1 Mar 2022 20:16:51 +0000 (UTC) Received: by mail-lf1-f42.google.com with SMTP id f37so28759361lfv.8 for ; Tue, 01 Mar 2022 12:16:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IVJCWuEom0kHlh/OKXDsN3qCzQx/9M9wC7RTfclR0WE=; b=BpAEsMmHbz6DldI3lrXW/NoVL9h7Y1Bb3g4jW8C7mdmGyS8h6DJzcjMNPCcb5i0eTv U7LBxmxLpMxQLSdiNBGQ/nOQ2K++bwghf8WSxi5cejyHlrOc1Q0Y3NIYV/Er9JexFbTd wZkpV/0FlL02n71JKK++Oi+26AojFvTWPs3FE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IVJCWuEom0kHlh/OKXDsN3qCzQx/9M9wC7RTfclR0WE=; b=ZNyuM9y/xKKBjyavffvlc53GMJzOA32ztP0e9EZVSE3aNbYD1A1UcE+STzmRfvzXRQ B3PKgvrTtrAA1HU3JWKZaf8ZGXGraf2ZOgbr1JBqieQIyIx6sDgcXgzAkyn5kVozO+qr UOGG6DvTKOMY6dA427KNwnLo5Ev3yhcZZRuu6IC0EjAdUrv0MXKxVRhtfr+ZUTFWqIKz x2Le/B7lE0ol/AEccLlhYq+IA4noDHYEw0eSWBo8Ku/w4C9gRtID+BiAGz0raCBs1hu5 2lasM3V+o8DcW4eGnsFUX0/S2F+69CON/O0ywrCQFdgIl90YsJeAriAgNx1eyxqAVADr ctgA== X-Gm-Message-State: AOAM530y+/WIpiOWbdMiVti6Ka3HIZ7xsLR+l4TuQBSU0eZhXw330bxl +9IZOuwL0j6Dg58EHYk9lTl6ElmR7HK0VOw28/M= X-Google-Smtp-Source: ABdhPJx8FyL4s6bShXnZUS1pc7/IoA5mv0ZQrBK3rZFdbDiugvTIMZd4MjFLOgpBOzaRTEgPxREU1w== X-Received: by 2002:a05:6512:ad4:b0:43c:ad4:7a37 with SMTP id n20-20020a0565120ad400b0043c0ad47a37mr17202608lfu.349.1646165809506; Tue, 01 Mar 2022 12:16:49 -0800 (PST) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com. [209.85.167.50]) by smtp.gmail.com with ESMTPSA id b3-20020ac25623000000b004435fb1f5basm1650832lff.78.2022.03.01.12.16.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Mar 2022 12:16:45 -0800 (PST) Received: by mail-lf1-f50.google.com with SMTP id t13so16800901lfd.9 for ; Tue, 01 Mar 2022 12:16:45 -0800 (PST) X-Received: by 2002:ac2:5313:0:b0:443:99c1:7e89 with SMTP id c19-20020ac25313000000b0044399c17e89mr16012940lfh.531.1646165804889; Tue, 01 Mar 2022 12:16:44 -0800 (PST) MIME-Version: 1.0 References: <20220301075839.4156-2-xiam0nd.tong@gmail.com> <202203020135.5duGpXM2-lkp@intel.com> In-Reply-To: <202203020135.5duGpXM2-lkp@intel.com> From: Linus Torvalds Date: Tue, 1 Mar 2022 12:16:28 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/6] Kbuild: compile kernel with gnu11 std To: kernel test robot Cc: Xiaomeng Tong , kbuild-all@lists.01.org, Arnd Bergmann , Jakob Koschel , Linux Kernel Mailing List , Greg Kroah-Hartman , Kees Cook , Jann Horn , Linux Kbuild mailing list , Linux-MM , Netdev Content-Type: text/plain; charset="UTF-8" X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 813DF14000E X-Stat-Signature: r147qfznt63x7hxb59ff6ucmqoe6kbf8 Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=google header.b=BpAEsMmH; spf=pass (imf26.hostedemail.com: domain of torvalds@linuxfoundation.org designates 209.85.167.42 as permitted sender) smtp.mailfrom=torvalds@linuxfoundation.org; dmarc=none X-HE-Tag: 1646165811-148186 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Mar 1, 2022 at 10:00 AM kernel test robot wrote: > > All warnings (new ones prefixed by >>): > > >> cc1: warning: result of '-117440512 << 16' requires 44 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=] So that's potentially an interesting warning, but this email doesn't actually tell *where* that warning happens. I'm not entirely sure why this warning is new to this '-std=gnu11' change, but it's intriguing. Instead it then gives the location for another warning: > arch/mips/pci/pci-rc32434.c: In function 'rc32434_pcibridge_init': > arch/mips/pci/pci-rc32434.c:111:22: warning: variable 'dummyread' set but not used [-Wunused-but-set-variable] > 111 | unsigned int dummyread, pcicntlval; > | ^~~~~~~~~ but that wasn't the new one (and that 'dummyread' is obviously _intentionally_ set but not used, as implied by the name). Is there some place to actually see the full log (or some way to get a better pointer to just the new warning) to see that actual shift overflow thing? Linus