From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gnuweeb.org (Postfix) with ESMTPS id 084827E2F8 for ; Sun, 27 Mar 2022 22:21:40 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AgCxhSNx; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648419700; x=1679955700; h=date:from:to:cc:subject:message-id:mime-version; bh=6DkAmUQZS/disVcR4AxxsxafJ4v3gjgDl0swelDO9LM=; b=AgCxhSNx395k9lpdErAGN+n2HC/OdOFxWew08dhwBsOtFIA5IVSlCGlV 49CNxaFy30AdyDAD72KUGNEoOf5dcPww9TO6YH2DKY9uva8YUT9OObRbY bGLDaMObx93rgv7KfZHHvSet1JRAKOzC0AUiHfujtIMaZocCWH5XbrcuU kXEn/ZPLcVWK2vhk+o+Y0VmkrraAmGSCzQcPQ+gyV5WMbl2d8BSoA4HSl M3Gr2+BCSVv0ko8n7/7g8pXZBkjim4+PQQF4c9NosUw/15YV/AY4c+gCf l5E2WuhN8O7kxFEpj+/BDAS9ee/7yL8y3YF3sm0xqZ9Hw3WbM1q3jBGaY g==; X-IronPort-AV: E=McAfee;i="6200,9189,10299"; a="238812573" X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="238812573" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2022 15:21:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="502313173" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 27 Mar 2022 15:21:36 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nYbGS-0001TU-5r; Sun, 27 Mar 2022 22:21:36 +0000 Date: Mon, 28 Mar 2022 06:21:21 +0800 From: kernel test robot To: Prasad Sodagudi Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Yogesh Lal , Elliot Berman Subject: [ammarfaizi2-block:google/android/kernel/common/android13-5.15 1113/5558] kernel/module.c:4789:6: warning: no previous prototype for function 'android_debug_for_each_module' Message-ID: <202203280627.cOFGvbLV-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: Hi Prasad, FYI, the error/warning still remains. tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.15 head: 4fa38f9405ba32011fe37e6e77bbbc770026b45d commit: b2df67a932b5cbd6535de9f1a6e63004992ad014 [1113/5558] ANDROID: android: Create debug_symbols driver config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220328/202203280627.cOFGvbLV-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d) 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 arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/ammarfaizi2/linux-block/commit/b2df67a932b5cbd6535de9f1a6e63004992ad014 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.15 git checkout b2df67a932b5cbd6535de9f1a6e63004992ad014 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> kernel/module.c:4789:6: warning: no previous prototype for function 'android_debug_for_each_module' [-Wmissing-prototypes] void android_debug_for_each_module(int (*fn)(const char *mod_name, void *mod_addr, void *data), ^ kernel/module.c:4789:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void android_debug_for_each_module(int (*fn)(const char *mod_name, void *mod_addr, void *data), ^ static kernel/module.c:4809:6: warning: no previous prototype for function 'module_layout' [-Wmissing-prototypes] void module_layout(struct module *mod, ^ kernel/module.c:4809:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void module_layout(struct module *mod, ^ static 2 warnings generated. vim +/android_debug_for_each_module +4789 kernel/module.c 4787 4788 #ifdef CONFIG_ANDROID_DEBUG_SYMBOLS > 4789 void android_debug_for_each_module(int (*fn)(const char *mod_name, void *mod_addr, void *data), 4790 void *data) 4791 { 4792 struct module *module; 4793 preempt_disable(); 4794 list_for_each_entry_rcu(module, &modules, list) { 4795 if (fn(module->name, module->core_layout.base, data)) 4796 goto out; 4797 } 4798 out: 4799 preempt_enable(); 4800 } 4801 EXPORT_SYMBOL_NS_GPL(android_debug_for_each_module, MINIDUMP); 4802 #endif 4803 -- 0-DAY CI Kernel Test Service https://01.org/lkp