Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4825464rwb; Tue, 8 Aug 2023 14:44:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOr/Jvex1Ge6Ti8nLu4Sv/KUeNqcIbYzZKiCzN11TI8Qtn2mkfVlq+xw0PkalyspFqGE4a X-Received: by 2002:a05:6402:708:b0:523:3609:d3ca with SMTP id w8-20020a056402070800b005233609d3camr803407edx.20.1691531041545; Tue, 08 Aug 2023 14:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691531041; cv=none; d=google.com; s=arc-20160816; b=iQOuemjhN90T1AeVkdfm73NqEJ5EMRi0pSKSqhUeRQYrNdTJqQe6soRKVMBikmi77a LHpOEwbDB3WG7QeuCPmf9Ufp5+jWZcxX+3rq0FWVzbXp5U+ZYKgDEKfKzKcOqsoXclC5 6yXTkgiWrLFy22qE2YaCpv5J1fugB+rIxZYxOjYt05Fny8y3+e3Ka9wDMe3Ai6ntnJEy WCyaImvFCRwV8/SN4Qjqul2SanTGA/49ryX343erXpBCuDAqWHfc29kkJh4MVOK093A/ /oAPYoieU2pFMmtxqoHQNVZjTmJg+XWutqWhFBZy/0Lc8Eah3gicORCklOabCvs5AzII kulA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fGYG2TP3YUoI/LpxTID2XSbiIjcOrbiQj+jeTDZ6Aag=; fh=Vj3Kd5ZxZ5C8zHWEEORn9RvzoASkmaxbOAb8SkDhs+0=; b=jTiXgo1vOGXPmwT8hUWsJkge767AibdwntFXm9sREfPOBRXSHumwifGKDd2qcjGhr1 Lu4qPygY3OQvT/U1ByzziMnv54gW9mgwaMfuxU8dW6qMaIXnD6pOMpFl2UTXCUPWYyd9 8YKrOjnk/i+JQ9Db3wOU5KyxxPTYPJY7ZQKlPySMVn8TqJVyGmYXmeWjXhfr3swCWPga DXm5RZ2OZ1uNGrX2enIwEZHsorZq2AYXdXEbf3SIjPRmm2TUtbZQAOtUwN07bplHpn6f xtHix2/6DGAca0RaTjVHttsJgn3cjpfprrvXez7wKFUrh8zNW39vTjYEvu2pdfMqnLyX xoDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BgXxXFNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m25-20020a056402051900b0052363eee9easi126544edv.295.2023.08.08.14.43.16; Tue, 08 Aug 2023 14:44:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BgXxXFNI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232955AbjHHTSy (ORCPT + 99 others); Tue, 8 Aug 2023 15:18:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235955AbjHHTSM (ORCPT ); Tue, 8 Aug 2023 15:18:12 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23AC1FF61F; Tue, 8 Aug 2023 09:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691512868; x=1723048868; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ySK3NlCA6fyTM7xr3G84YaQjAx5GVDZt2tqPMcZ+1SA=; b=BgXxXFNIe0dCMecngDK4Ac/z0xwyw49iWzN8VpZnAFyRc1iKPV0JlQkS TDEQUY9cdi0enw/3W/Y0cAQGo9H30JflspDMFeL3kCDopuLkf4deIVFDk vzoqghi0hLtgCG7iRkGcea9sG9QTAq0C+KXvAXAcyHpD0tURqh7Klypmz nvAafrrOcOROn5TZuMm85AFHmm8Y1qmtk30QqsAwEfZq1o0PhpIQ6pGP4 4Od4px0EUwajpX8jSR/MIGl1ZfaM83jnCxSvq19IFOsPKK9oD1TWHmeYs UmDGEC4vAIcaM9BO23UMvIss7bzd5lTHd4JAumUlb+D67e1d93U07Hget w==; X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="374428090" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="374428090" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Aug 2023 01:03:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10795"; a="760808069" X-IronPort-AV: E=Sophos;i="6.01,263,1684825200"; d="scan'208";a="760808069" Received: from lkp-server01.sh.intel.com (HELO d1ccc7e87e8f) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 08 Aug 2023 01:03:50 -0700 Received: from kbuild by d1ccc7e87e8f with local (Exim 4.96) (envelope-from ) id 1qTHh1-0005DS-0c; Tue, 08 Aug 2023 08:03:51 +0000 Date: Tue, 8 Aug 2023 16:03:02 +0800 From: kernel test robot To: Nick Desaulniers , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Tom Rix Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers Subject: Re: [PATCH v2] Makefile.extrawarn: enable -Wmissing-variable-declarations for W=1 Message-ID: <202308081508.EI3CRzQo-lkp@intel.com> References: <20230807-missing_proto-v2-1-3ae2e188bb0c@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230807-missing_proto-v2-1-3ae2e188bb0c@google.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nick, kernel test robot noticed the following build errors: [auto build test ERROR on 52a93d39b17dc7eb98b6aa3edb93943248e03b2f] url: https://github.com/intel-lab-lkp/linux/commits/Nick-Desaulniers/Makefile-extrawarn-enable-Wmissing-variable-declarations-for-W-1/20230808-005859 base: 52a93d39b17dc7eb98b6aa3edb93943248e03b2f patch link: https://lore.kernel.org/r/20230807-missing_proto-v2-1-3ae2e188bb0c%40google.com patch subject: [PATCH v2] Makefile.extrawarn: enable -Wmissing-variable-declarations for W=1 config: arm64-randconfig-r013-20230807 (https://download.01.org/0day-ci/archive/20230808/202308081508.EI3CRzQo-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) reproduce: (https://download.01.org/0day-ci/archive/20230808/202308081508.EI3CRzQo-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308081508.EI3CRzQo-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from lib/test_bitops.c:9: In file included from include/linux/module.h:13: In file included from include/linux/stat.h:19: In file included from include/linux/time.h:60: In file included from include/linux/time32.h:13: In file included from include/linux/timex.h:67: In file included from arch/arm64/include/asm/timex.h:8: In file included from arch/arm64/include/asm/arch_timer.h:18: In file included from include/linux/smp.h:110: In file included from include/linux/preempt.h:79: In file included from arch/arm64/include/asm/preempt.h:6: In file included from include/linux/thread_info.h:60: In file included from arch/arm64/include/asm/thread_info.h:18: >> arch/arm64/include/asm/stack_pointer.h:8:24: error: no previous extern declaration for non-static variable 'current_stack_pointer' [-Werror,-Wmissing-variable-declarations] 8 | register unsigned long current_stack_pointer asm ("sp"); | ^ arch/arm64/include/asm/stack_pointer.h:8:10: note: declare 'static' if the variable is not intended to be used outside of this translation unit 8 | register unsigned long current_stack_pointer asm ("sp"); | ^ 1 error generated. vim +/current_stack_pointer +8 arch/arm64/include/asm/stack_pointer.h a9ea0017ebe888 Mark Rutland 2016-11-03 4 a9ea0017ebe888 Mark Rutland 2016-11-03 5 /* a9ea0017ebe888 Mark Rutland 2016-11-03 6 * how to get the current stack pointer from C a9ea0017ebe888 Mark Rutland 2016-11-03 7 */ a9ea0017ebe888 Mark Rutland 2016-11-03 @8 register unsigned long current_stack_pointer asm ("sp"); a9ea0017ebe888 Mark Rutland 2016-11-03 9 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki