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 9B5CAC433F5 for ; Fri, 13 May 2022 07:38:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 003B56B0073; Fri, 13 May 2022 03:38:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EF5466B0075; Fri, 13 May 2022 03:38:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D96436B0078; Fri, 13 May 2022 03:38:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id C359A6B0073 for ; Fri, 13 May 2022 03:38:22 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 8EAC960EDB for ; Fri, 13 May 2022 07:38:22 +0000 (UTC) X-FDA: 79459916844.20.0D40F6B Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by imf08.hostedemail.com (Postfix) with ESMTP id 255E6160099 for ; Fri, 13 May 2022 07:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652427499; x=1683963499; h=date:from:to:cc:subject:message-id:mime-version; bh=jTZDizA5sLyv0KPIQpF8N4wyj6bf1/Y7F4xddqWAhxE=; b=GS8ULamlXqHp5GIl+4gMD4eeTMdumLVEEbxm9XtzMyq2XL/Y3G/ME9e6 Hsj285T6AWNmp7MV6u+cE/Qllx/KiQHQwCnsAsvYY8K0topgC5j2UBDwE WxK/JORmSajKmM41RHKwu+BgNf+7+8ZdjL8/mq3QB+h0K/NP7Vf9aNiR8 VtsNpLuTqgbZ/lIUL8COCRY3fKxe/XFaX7XCSP+fdYuIIrWkogg11x7v0 SDGi9t56Y7RFUwwZhiiO+ZeZh5qo0DFKIKY1g9g3w39QwRDH+DZnAT6oA yRxLP8KOUauyBYhfJbrFiZjPOXYdqGu2Wbd/WPMFNw8LDfUA/hcqqB6He Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10345"; a="267836917" X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="267836917" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 00:38:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,221,1647327600"; d="scan'208";a="712296509" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 13 May 2022 00:38:15 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1npPsM-000LUv-MB; Fri, 13 May 2022 07:38:14 +0000 Date: Fri, 13 May 2022 15:37:46 +0800 From: kernel test robot To: Arnd Bergmann Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List Subject: [linux-next:master 7518/11360] arch/arm/mach-spear/spear6xx.c:365:13: warning: no previous prototype for function 'spear6xx_map_io' Message-ID: <202205131534.YUrkTw9s-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: hs76oe3hiajkhhkzeh5zcejydyxh4174 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 255E6160099 Authentication-Results: imf08.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=GS8ULaml; spf=none (imf08.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.93) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-HE-Tag: 1652427484-568224 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: Hi Arnd, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 187b9ac8c348383f7f36c8413d73ad89e9b1e90a commit: 1a82d85108afbd1d3b5596cf3cadd378900a9ec2 [7518/11360] Merge branch 'omap1-multiplatform-5.18' into arm/multiplatform-late config: arm-buildonly-randconfig-r004-20220512 (https://download.01.org/0day-ci/archive/20220513/202205131534.YUrkTw9s-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 18dd123c56754edf62c7042dcf23185c3727610f) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=1a82d85108afbd1d3b5596cf3cadd378900a9ec2 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 1a82d85108afbd1d3b5596cf3cadd378900a9ec2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash arch/arm/mach-spear/ drivers/clk/spear/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/arm/mach-spear/spear6xx.c:365:13: warning: no previous prototype for function 'spear6xx_map_io' [-Wmissing-prototypes] void __init spear6xx_map_io(void) ^ arch/arm/mach-spear/spear6xx.c:365:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void __init spear6xx_map_io(void) ^ static >> arch/arm/mach-spear/spear6xx.c:370:13: warning: no previous prototype for function 'spear6xx_timer_init' [-Wmissing-prototypes] void __init spear6xx_timer_init(void) ^ arch/arm/mach-spear/spear6xx.c:370:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void __init spear6xx_timer_init(void) ^ static 2 warnings generated. -- >> drivers/clk/spear/spear6xx_clock.c:116:13: warning: no previous prototype for function 'spear6xx_clk_init' [-Wmissing-prototypes] void __init spear6xx_clk_init(void __iomem *misc_base) ^ drivers/clk/spear/spear6xx_clock.c:116:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void __init spear6xx_clk_init(void __iomem *misc_base) ^ static 1 warning generated. vim +/spear6xx_map_io +365 arch/arm/mach-spear/spear6xx.c 8f590d4541fb678 arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2010-04-01 363 8f590d4541fb678 arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2010-04-01 364 /* This will create static memory mapping for selected devices */ 8f590d4541fb678 arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2010-04-01 @365 void __init spear6xx_map_io(void) 8f590d4541fb678 arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2010-04-01 366 { 8f590d4541fb678 arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2010-04-01 367 iotable_init(spear6xx_io_desc, ARRAY_SIZE(spear6xx_io_desc)); 8f590d4541fb678 arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2010-04-01 368 } 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 369 6bb27d7349db51b arch/arm/mach-spear6xx/spear6xx.c Stephen Warren 2012-11-08 @370 void __init spear6xx_timer_init(void) 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 371 { a8f4bf0eb4ca7a0 arch/arm/mach-spear6xx/spear6xx.c Vipul Kumar Samar 2012-07-10 372 char pclk_name[] = "pll3_clk"; 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 373 struct clk *gpt_clk, *pclk; 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 374 d9909ebe650f028 arch/arm/mach-spear/spear6xx.c Arnd Bergmann 2012-12-02 375 spear6xx_clk_init(MISC_BASE); 5df33a62c4a028d arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2012-04-10 376 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 377 /* get the system timer clock */ 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 378 gpt_clk = clk_get_sys("gpt0", NULL); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 379 if (IS_ERR(gpt_clk)) { 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 380 pr_err("%s:couldn't get clk for gpt\n", __func__); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 381 BUG(); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 382 } 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 383 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 384 /* get the suitable parent clock for timer*/ 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 385 pclk = clk_get(NULL, pclk_name); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 386 if (IS_ERR(pclk)) { 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 387 pr_err("%s:couldn't get %s as parent for gpt\n", 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 388 __func__, pclk_name); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 389 BUG(); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 390 } 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 391 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 392 clk_set_parent(gpt_clk, pclk); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 393 clk_put(gpt_clk); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 394 clk_put(pclk); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 395 30551c0108e0d2f arch/arm/mach-spear6xx/spear6xx.c Viresh Kumar 2012-04-21 396 spear_setup_of_timer(); 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 397 } 5c881d9ae948017 arch/arm/mach-spear6xx/spear6xx.c Shiraz Hashim 2011-02-16 398 :::::: The code at line 365 was first introduced by commit :::::: 8f590d4541fb678a638777ab987709217cb71365 ARM: 6015/1: ST SPEAr: Added source files for SPEAr6xx machine family :::::: TO: viresh kumar :::::: CC: Russell King -- 0-DAY CI Kernel Test Service https://01.org/lkp