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 93B26C43219 for ; Tue, 1 Mar 2022 20:18:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237819AbiCAUSl (ORCPT ); Tue, 1 Mar 2022 15:18:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238023AbiCAURx (ORCPT ); Tue, 1 Mar 2022 15:17:53 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA75D7B569 for ; Tue, 1 Mar 2022 12:16:51 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id b11so28767003lfb.12 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=TUxoIrLeJmbuSWqrTc7IME2EyJVKLd+PD9Y+t0IqxCyOAwtUuBnaTGw2Wmeiq/kLw2 I2kC5JKgZtBNXbjxxsYV9Syu7T9Vb0rI5BHPCuSQMBx8/BPn6izZaBwThSBvzQSvOSng E8DwLGbdfFW4ScrbrypiHaMSku9rhJi96jhpFXsbjkELbac4rlqhEOgSydC/7H5ZvSl9 GMc+Fuw1nZO4TNzqGJf7fkphYaSXlzJhAfrY/Wt5DB4NSj5otCTR5tMxG2vuYv6P5bqm S+H2fUBG3YEec120K0zcwP8I4XVkx8q5nNqmXgfz1vkrH1FcvheQ7jJ+pQxFQVr3r63E 76wQ== X-Gm-Message-State: AOAM531aNE1oIgqJSJBUcOoS6QQ+Un0TRgo2/rmam3s0wx6en0zpTonr N+4bgaq1Cia/LX4PLNA5MEzDwfaCDon7JBBAhHU= X-Google-Smtp-Source: ABdhPJx6rprC/dvCv13ri4zehVoGwM1yZYZuXk53eOqNHMDqa20O/SePNpMRg2dZcCbRJ0EnpHvloQ== X-Received: by 2002:a05:6512:398e:b0:43f:db1f:9e07 with SMTP id j14-20020a056512398e00b0043fdb1f9e07mr16086662lfu.652.1646165809432; Tue, 01 Mar 2022 12:16:49 -0800 (PST) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com. [209.85.167.45]) by smtp.gmail.com with ESMTPSA id g4-20020a19ac04000000b00443a532746asm1649550lfc.288.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-f45.google.com with SMTP id bu29so28926302lfb.0 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" Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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