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 8DA9AC433F5 for ; Fri, 22 Apr 2022 00:19:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 148526B0071; Thu, 21 Apr 2022 20:19:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0AB776B0073; Thu, 21 Apr 2022 20:19:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E66D56B0074; Thu, 21 Apr 2022 20:19:42 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.27]) by kanga.kvack.org (Postfix) with ESMTP id D1B586B0071 for ; Thu, 21 Apr 2022 20:19:42 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id A11A02C4 for ; Fri, 22 Apr 2022 00:19:42 +0000 (UTC) X-FDA: 79382606604.18.8932152 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf21.hostedemail.com (Postfix) with ESMTP id 7361E1C0006 for ; Fri, 22 Apr 2022 00:19:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650586781; x=1682122781; h=date:from:to:cc:subject:message-id:mime-version; bh=4J/5UKagLoRW1miQ6Kgk2SRBFCed7jhYgAAQPoIBM4U=; b=OpWPNaR/JbrEAetjpjNj4nnO2BLmVc4dd1+F29A8Lu+RS3AJtWGGSpBB S+w9kQjmWOx6OouaFvipjpr8a0mAQlj+uDUbjknlWgQW+YwIvXMGiJY+V AGX7ZeQcG8K7pQMXpLcgse2lkEzr6HQFnSTJzCeZAhVmoni9ZKFjIlxV7 8mjMflNnJhXIOdv+7DpFmlr8YOjzz+YjXT6lwXQ+nptzh3bPsYER/x7tq CR6RaoEDdp1VB8Ha8dp2Ia0NNwjEzu5qzs7WGnZNUsPNdIc6Fl5sOW0iY K6catJGKx47wuaCoqw2aGnWITYAhP0CO6k9f18hnFhwTJOTQApnvs7rDA A==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="264297142" X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="264297142" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 17:19:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="671443819" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 21 Apr 2022 17:19:28 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nhh1D-00090A-TD; Fri, 22 Apr 2022 00:19:27 +0000 Date: Fri, 22 Apr 2022 08:18:32 +0800 From: kernel test robot To: Andrew Morton Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Linux Memory Management List , Johannes Weiner Subject: [hnaz-mm:master 1/291] WARNING: modpost: vmlinux.o(.data+0x25c2ac): Section mismatch in reference from the variable ad7418_driver to the function .init.text:set_reset_devices() Message-ID: <202204220814.GIektaty-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: xbqzi4ciyb76z4njpct9pnpe3p3df4at X-Rspam-User: Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="OpWPNaR/"; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf21.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.65) smtp.mailfrom=lkp@intel.com X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 7361E1C0006 X-HE-Tag: 1650586779-846903 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://github.com/hnaz/linux-mm master head: ba42854fa9997614e0ffdbc35b082df3ba6e59da commit: c94c865a5858f9ddb424d9b57b33d1664a986044 [1/291] origin config: riscv-randconfig-r015-20220420 (https://download.01.org/0day-ci/archive/20220422/202204220814.GIektaty-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project bac6cd5bf85669e3376610cfc4c4f9ca015e7b9b) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/hnaz/linux-mm/commit/c94c865a5858f9ddb424d9b57b33d1664a986044 git remote add hnaz-mm https://github.com/hnaz/linux-mm git fetch --no-tags hnaz-mm master git checkout c94c865a5858f9ddb424d9b57b33d1664a986044 # 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=riscv 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 >>, old ones prefixed by <<): >> WARNING: modpost: vmlinux.o(.data+0x25c2ac): Section mismatch in reference from the variable ad7418_driver to the function .init.text:set_reset_devices() The variable ad7418_driver references the function __init set_reset_devices() If the reference is valid then annotate the variable with or __refdata (see linux/init.h) or name the variable: Note: the below error/warnings can be found in parent commit: << WARNING: modpost: vmlinux.o(.text+0x126d798): Section mismatch in reference from the function ir_raw_get_allowed_protocols() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.text+0x1505c8e): Section mismatch in reference from the function tb_debugfs_exit() to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x2356bc): Section mismatch in reference from the variable tuners to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x25c43c): Section mismatch in reference from the variable ad7417_attrs to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x25c444): Section mismatch in reference from the variable ad7417_attrs to the variable .meminit.text:.LBB9_3 << WARNING: modpost: vmlinux.o(.data+0x25c454): Section mismatch in reference from the variable sensor_dev_attr_in1_input to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x25c474): Section mismatch in reference from the variable sensor_dev_attr_in2_input to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x25c494): Section mismatch in reference from the variable sensor_dev_attr_in3_input to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x25c4b4): Section mismatch in reference from the variable sensor_dev_attr_in4_input to the variable .meminit.text:.LBB9_4 << WARNING: modpost: vmlinux.o(.data+0x25c4c8): Section mismatch in reference from the variable sensor_dev_attr_in4_input to the function .meminit.text:init_reserve_notifier() -- 0-DAY CI Kernel Test Service https://01.org/lkp