Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4962074iob; Mon, 9 May 2022 05:52:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbecvgqaXSVGlpqML56qeXaLYKaNhhwLFk9bjva6/B0+VjxITWztiPs2zK7byy/Z1N/ZN5 X-Received: by 2002:a17:902:ab5c:b0:15c:ea3a:9437 with SMTP id ij28-20020a170902ab5c00b0015cea3a9437mr16310092plb.9.1652100772260; Mon, 09 May 2022 05:52:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652100772; cv=none; d=google.com; s=arc-20160816; b=tjyY56y1NyIAz/8c1vuIzhG/9qGBHmm1QC5q5mn0cUQgk1JqxYiYRx4vpMCsJbRTLR 8+kAhTJN36+977TU0bx/yuwniqw/Fy0m0E1P6kRY0dk6bdwa0mPHa35CZALcLe14AQ8A cilJoALYs/J8LcZddahiGCvPsTn8PXKgalXiYY+qIQ8wx1obkNa1+2yg9S7CZ8uhOdx8 dSy7ZZj+OSNA4fYWVn3iYmxmw7dxBO8wNC5+yA68XJkBSei6RWRhcwkQIhk/+Jil8Bc4 GpVSz7aqONt2fvbpVQv/fq5iRpa4tiSvRtj5KSy3CTUR9Y0/MbmXCv9EHyeUo4BqawoE sAww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=c2Eq9fpG/HKa6eOu0dpwud2O6VRMUsDmCrH6R37nB6I=; b=kaqs81BtFfpimc5CdXUuCHECNVWcaq1x9/AcGu8WuZiGlRSG90o3R378x1jqKAnX1B 7qe0o1lYFjVb7ch/ghi+doq82tBV9hwLZxfzOECElMrK45JiXQLBRAS6imMFf7Sanz2n m7m43MsyiXXBDQViisJ4nWL0XdlS7EppQDbp1Nn4bve7L6pN2rQmSJgqwUcmpCRTgV7f ktJZGREFWTDlbssjJVreIOl/Jrw5N3N4vhUtt7I3TyjB67KmMhmLW9iLweK3Lz5/D/Ws PFINXBckqAkgsUBKW/uKfJt6jvLFdkxwZ38oyJIx2gDqfkXcjJrBHfkrHlAQ0SzmtCZ4 RCBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="R/b18o4P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q64-20020a632a43000000b003c61560e0cbsi14291800pgq.517.2022.05.09.05.52.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 05:52:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="R/b18o4P"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 150341583C; Mon, 9 May 2022 05:50:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234895AbiEIMyd (ORCPT + 99 others); Mon, 9 May 2022 08:54:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234845AbiEIMyb (ORCPT ); Mon, 9 May 2022 08:54:31 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2D2F2613A for ; Mon, 9 May 2022 05:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652100637; x=1683636637; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MsFiqomf3n4gz5TZpVYt5uVXII7AT1WCc19ufzD2ZNM=; b=R/b18o4P0bgNEwH59uOeAowsWSH4WmUfAZN/52/781B3iORUr4I+HK1J HfDLsd0mKPMD/rIWAPUW9K99T7UJkZwUQ+klk4K4HIPd13MTZ2av40sTo aRLDFJHjaFFMKZn4shtCWoG23657fQG+7tyXbrbeLbL0QIIbyhfmIXCk9 B+pGplA8ShIetnJo5GcQFFsZPrUHTp+WBEzAhyFrsjBhA5Ymsu9nkBEDz krkOZUw0Dnwz/3CMm6V7hR3CLjs8CpVtUqvbhEiuoxI/W70ZXq/fVPLSd Sa1+uwb6TXGGBcv5ysXWiwOT46YnnGIN522Qdss6QZtpaAA/uBwX3lwhm w==; X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="248939478" X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="248939478" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2022 05:50:37 -0700 X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="710511039" Received: from rli9-dbox.sh.intel.com (HELO rli9-dbox) ([10.239.159.142]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2022 05:50:36 -0700 Date: Mon, 9 May 2022 20:48:46 +0800 From: Philip Li To: Matthew Wilcox Cc: kernel test robot , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: [kbuild-all] Re: WARNING: modpost: vmlinux.o(.text+0xa76d36): Section mismatch in reference from the function rtc_update_irq() to the variable .init.text:.L0 Message-ID: References: <202205090847.j9NvIYxI-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 09, 2022 at 02:15:09AM +0100, Matthew Wilcox wrote: > On Mon, May 09, 2022 at 08:14:44AM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > head: c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a > > commit: 170f37d6aa6ad4582eefd7459015de79e244536e block: Do not call folio_next() on an unreferenced folio > > date: 4 days ago > > config: riscv-randconfig-r042-20220509 (https://download.01.org/0day-ci/archive/20220509/202205090847.j9NvIYxI-lkp@intel.com/config) > > compiler: riscv32-linux-gcc (GCC) 11.3.0 > > 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 > > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=170f37d6aa6ad4582eefd7459015de79e244536e > > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > git fetch --no-tags linus master > > git checkout 170f37d6aa6ad4582eefd7459015de79e244536e > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 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+0xa76d36): Section mismatch in reference from the function rtc_update_irq() to the variable .init.text:.L0 > > The function rtc_update_irq() references > > the variable __init .L0 . > > This is often because rtc_update_irq lacks a __init > > annotation or the annotation of .L0 is wrong. > > > > Note: the below error/warnings can be found in parent commit: > > << WARNING: modpost: vmlinux.o(.text+0xa7418e): Section mismatch in reference from the function rtc_month_days() to the variable .init.setup:__setup_root_delay_setup > > << WARNING: modpost: vmlinux.o(.text+0xb2080e): Section mismatch in reference from the function thermal_zone_device_unregister() to the variable .init.text:.L0 > > << WARNING: modpost: vmlinux.o(.text+0xb34ff0): Section mismatch in reference from the function btintel_enter_mfg() to the variable .init.text:.LBB18955 > > << WARNING: modpost: vmlinux.o(.text+0xb5964e): Section mismatch in reference from the function cpuidle_switch_governor() to the variable .init.text:.L0 > > << WARNING: modpost: vmlinux.o(.text+0xbacbfa): Section mismatch in reference from the function comedi_buf_map_get() to the variable .init.text:.L0 > > << WARNING: modpost: vmlinux.o(__ex_table+0x141c): Section mismatch in reference from the variable .L0 to the variable .debug_str:.LASF1100 > > I'm going to suggest that my commit is not responsible for anything > other than moving a warning around. I do not intend to investigate > this further unless someone tells me otherwise. Sorry, kindly ignore this report, which is a false positive. We will block such report in future to avoid noise. > _______________________________________________ > kbuild-all mailing list -- kbuild-all@lists.01.org > To unsubscribe send an email to kbuild-all-leave@lists.01.org