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 9515DC433EF for ; Thu, 28 Apr 2022 11:42:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 074E26B0071; Thu, 28 Apr 2022 07:42:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0233D6B0072; Thu, 28 Apr 2022 07:42:16 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E2CE06B0073; Thu, 28 Apr 2022 07:42:16 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id D2F9C6B0071 for ; Thu, 28 Apr 2022 07:42:16 -0400 (EDT) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id AA57921C29 for ; Thu, 28 Apr 2022 11:42:16 +0000 (UTC) X-FDA: 79406099472.23.498A5BA Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf20.hostedemail.com (Postfix) with ESMTP id C46BB1C0070 for ; Thu, 28 Apr 2022 11:42:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651146135; x=1682682135; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=MtXFmFdBA/Xh7A2EwjwjZhk6gds/vNt8CxM9cTpwiRk=; b=CpQC4ce7RwXbjqoIuvgfeHtW+LIQyuDFtfWyWiyAiOl4o2qG5JNpWgIW Zh8GBOQRwX0GEg4cmYP2S1IOhrcqYjK8cCts8bWRt+ZChLwEZUCskVXDh 849mVZuEml8bZB1M8GeZEvxaW0u4gM5542kDH23evfTDK3CPwM7wOevBa whkN6GzUYstwY+mjTaPh1fHTlCwSqqaKwI/OUfdv4S1I0LJ0iq3Co2InM QqqAbd/duIV94xIdhO/c2gRsRscsjFnguONXym9X+FB6jrKvRsJwKUZtk Ggm6b1ihhzdRtMFswTlH0Qxxl7F664uRuRg432me+9+vCHfZniAxTXof0 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10330"; a="246821259" X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="246821259" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 04:42:14 -0700 X-IronPort-AV: E=Sophos;i="5.90,295,1643702400"; d="scan'208";a="731422048" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.255.31.248]) ([10.255.31.248]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2022 04:42:11 -0700 Subject: Re: [hnaz-mm:master 34/291] WARNING: modpost: vmlinux.o(.data+0x234bc8): Section mismatch in reference from the variable fc2580_driver to the function .init.text:set_reset_devices() To: David Hildenbrand , kernel test robot Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Johannes Weiner , Andrew Morton , Linux Memory Management List References: <202204241241.dnUrBBvT-lkp@intel.com> <1d67fd1c-29d8-d5a6-4d36-17fd238385cd@redhat.com> From: "Chen, Rong A" Message-ID: <65cb0f22-c924-2347-fcfa-3cb1175a690c@intel.com> Date: Thu, 28 Apr 2022 19:42:10 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <1d67fd1c-29d8-d5a6-4d36-17fd238385cd@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=CpQC4ce7; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf20.hostedemail.com: domain of rong.a.chen@intel.com has no SPF policy when checking 192.55.52.151) smtp.mailfrom=rong.a.chen@intel.com X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: C46BB1C0070 X-Rspam-User: X-Stat-Signature: bwbfduyck7g66ci53dor7zhk4azjbpw7 X-HE-Tag: 1651146131-497767 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: On 4/25/2022 4:04 PM, David Hildenbrand wrote: > On 24.04.22 06:21, kernel test robot wrote: >> tree: https://github.com/hnaz/linux-mm master >> head: ba42854fa9997614e0ffdbc35b082df3ba6e59da >> commit: 477a4d0f1f38e738d1a50d5005b79aca719c30bc [34/291] mm/hugetlb: take src_mm->write_protect_seq in copy_hugetlb_page_range() >> config: riscv-randconfig-r015-20220420 (https://download.01.org/0day-ci/archive/20220424/202204241241.dnUrBBvT-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/477a4d0f1f38e738d1a50d5005b79aca719c30bc >> git remote add hnaz-mm https://github.com/hnaz/linux-mm >> git fetch --no-tags hnaz-mm master >> git checkout 477a4d0f1f38e738d1a50d5005b79aca719c30bc >> # 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+0x234bc8): Section mismatch in reference from the variable fc2580_driver to the function .init.text:set_reset_devices() >> The variable fc2580_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: > > I don't see my patch causing that. Seems unrelated. > Hi David, Please ignore this report, similar warnings can be found on parent commit too: Note: the below error/warnings can be found in parent commit: << WARNING: modpost: vmlinux.o(.text+0x13e3592): Section mismatch in reference from the function usbhid_find_interface() to the variable .init.text:.LBB0_1 << WARNING: modpost: vmlinux.o(.text+0x13e3596): Section mismatch in reference from the function usbhid_find_interface() to the function .init.text:set_reset_devices() Best Regards, Rong Chen