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 4A321C433FE for ; Wed, 6 Apr 2022 20:27:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8BB616B0071; Wed, 6 Apr 2022 16:26:57 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 86A9C6B0073; Wed, 6 Apr 2022 16:26:57 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 70B986B0074; Wed, 6 Apr 2022 16:26:57 -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 5E6526B0071 for ; Wed, 6 Apr 2022 16:26:57 -0400 (EDT) Received: from smtpin19.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 3523A2387F for ; Wed, 6 Apr 2022 20:26:47 +0000 (UTC) X-FDA: 79327587654.19.3E32593 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf17.hostedemail.com (Postfix) with ESMTP id 1EF5640039 for ; Wed, 6 Apr 2022 20:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649276806; x=1680812806; h=date:from:to:cc:subject:message-id:mime-version; bh=OBKT+pkSxKYxEufXcN1rqUjEhRZcAM7HPyli/Ncj5Hs=; b=ZctypOvtu5MBiAO3RLOwgR9hyDNLT9dDi7nZi8EAsp/32lnO7WH3e3gn pFcnaE4lfi2xcMUGpWzQ0DuaoRCvEjcgk7w3GPl6rn4nzXiz7loh8sxK7 s9mrrqlsJG0ZK+o+6FI7AokHuBmIAoiAs0Ptr+hdwKcbrOh8GvEM12wvR gEIw72s54iNM2JTlTftnhTCjKg2j58OGlMRhll9qZAJNiXQoqt8WSakHg bjeByoG7e7gh02kN3/fF2B2FgQ4p1z4Gs7LBePf6yIcBI+weVXy5SzO32 fI4TyXTU9BVkeLg+ydH6rBTTHha2gQ0lsVZJYM4c+Ym4Iz4ciCoVKB3tw Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10309"; a="347590103" X-IronPort-AV: E=Sophos;i="5.90,240,1643702400"; d="scan'208";a="347590103" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2022 13:26:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,240,1643702400"; d="scan'208";a="658678638" Received: from lkp-server02.sh.intel.com (HELO a44fdfb70b94) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 06 Apr 2022 13:26:42 -0700 Received: from kbuild by a44fdfb70b94 with local (Exim 4.95) (envelope-from ) id 1ncCEj-0004ix-Ag; Wed, 06 Apr 2022 20:26:41 +0000 Date: Thu, 7 Apr 2022 04:25:40 +0800 From: kernel test robot To: Chuck Lever Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List Subject: [linux-next:master 2296/2385] WARNING: modpost: vmlinux.o(.text+0x14bb816): Section mismatch in reference from the function wiphy_sysfs_init() to the function .init.text:set_reset_devices() Message-ID: <202204070437.p3EkHIfz-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) X-Rspam-User: Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=ZctypOvt; spf=none (imf17.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 1EF5640039 X-Stat-Signature: 5n7myyd98eujotbwqywwi89mkksd5ipd X-HE-Tag: 1649276805-69768 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 109f6d10ec17302c4666f7df3dfa0e31d8589d41 commit: bc1dcf8421ef30e35015ca2d4271f8c2c90e0bc4 [2296/2385] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux config: riscv-buildonly-randconfig-r004-20220405 (https://download.01.org/0day-ci/archive/20220407/202204070437.p3EkHIfz-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566) 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=bc1dcf8421ef30e35015ca2d4271f8c2c90e0bc4 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 bc1dcf8421ef30e35015ca2d4271f8c2c90e0bc4 # 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=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(.text+0x14bb816): Section mismatch in reference from the function wiphy_sysfs_init() to the function .init.text:set_reset_devices() The function wiphy_sysfs_init() references the function __init set_reset_devices(). This is often because wiphy_sysfs_init lacks a __init annotation or the annotation of set_reset_devices is wrong. -- >> WARNING: modpost: vmlinux.o(.data+0x284f5c): Section mismatch in reference from the variable ieee80211_class to the function .init.text:set_reset_devices() The variable ieee80211_class 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+0x13e72fa): Section mismatch in reference from the function br_mrp_del_impl() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7a36): Section mismatch in reference from the function br_mrp_rcv() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x28101c): Section mismatch in reference from the variable raw_notifier_lock to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x284c88): Section mismatch in reference from the variable rds_trans_sem to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x284c90): Section mismatch in reference from the variable rds_trans_sem to the function .init.text:loglevel() << WARNING: modpost: vmlinux.o(.data+0x2851e8): Section mismatch in reference from the variable reg_check_chans to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(__ex_table+0x2220): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .debug_str:(unknown) << WARNING: modpost: vmlinux.o(.text+0x13e7e04): Section mismatch in reference from the function br_mrp_mrm_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7eac): Section mismatch in reference from the function br_mrp_mim_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13eb240): Section mismatch in reference from the function aarp_send_ddp() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e72fa): Section mismatch in reference from the function br_mrp_del_impl() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7a36): Section mismatch in reference from the function br_mrp_rcv() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.data+0x28101c): Section mismatch in reference from the variable raw_notifier_lock to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(.data+0x284c88): Section mismatch in reference from the variable rds_trans_sem to the function .meminit.text:init_reserve_notifier() << WARNING: modpost: vmlinux.o(.data+0x284c90): Section mismatch in reference from the variable rds_trans_sem to the function .init.text:loglevel() << WARNING: modpost: vmlinux.o(.data+0x2851e8): Section mismatch in reference from the variable reg_check_chans to the function .init.text:set_reset_devices() << WARNING: modpost: vmlinux.o(__ex_table+0x2220): Section mismatch in reference from the (unknown reference) (unknown) to the (unknown reference) .debug_str:(unknown) << WARNING: modpost: vmlinux.o(.text+0x13e7e04): Section mismatch in reference from the function br_mrp_mrm_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13e7eac): Section mismatch in reference from the function br_mrp_mim_process() to the function .exit.text:test_ww_mutex_exit() << WARNING: modpost: vmlinux.o(.text+0x13eb240): Section mismatch in reference from the function aarp_send_ddp() to the function .exit.text:test_ww_mutex_exit() -- 0-DAY CI Kernel Test Service https://01.org/lkp