Received: by 2002:a05:6a10:c7d3:0:0:0:0 with SMTP id h19csp771335pxy; Sat, 14 Aug 2021 23:36:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYkCR0Xfw/mFUOJWxryrFj768M/luS5VyIh6wlHqTPvzz9E3On1MNz0VdlpMGe1AAf5AMm X-Received: by 2002:a05:6602:2056:: with SMTP id z22mr8237984iod.63.1629009414375; Sat, 14 Aug 2021 23:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629009414; cv=none; d=google.com; s=arc-20160816; b=D6R9FiKo+4Q/IEoqDgmrheN+QJGpB3j53EekBZ+q7lu8PoMiI+TggRXUyeIGDttkHx T1JwBi4YVOVbnrJ0WbNdVGiWuAbwIpBkxCLya0Ip4Qx9WE1yQCMd+LeNhtp6uIMmU8pv UloEck5YH5aSZFl/x1XUnz7WOwwZ5hqjJy/VLDr9dy+CI2XlFRcdd2DmpCkOMB7ZFa0X ZXRznCv8Ts0S/sYSMKMNV2Su3fU10Jd9jtVAfEFYp4tGlGXUvbr5TqcIkfYTSRQq36p+ sgzsHFP4+gzNAkhM+8afM+lh1MRT1b/1y101noV+TxnhIvG7hOTNGPANSgzg6+AL7M+J vfzQ== 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=MSnZ+XOATZgFY1j4gR9f19gZEOtP/aAayNLbDT5oCZ4=; b=jSq3zq15QgkvMJ++t01JisPvKpj+f/jV1G7Kne1YHj+STGq9QupxhGqDBNrqs5COHX ZxrZx9Bg8JoQYvSqmcrCaQ7/6OpylASOCNtJCkM9Xn3Vf4qRI4wWEWvIxGXMYv6kGQSu OyyzpQ+yYwkXUQeMhK88f7T3EvHHwsPKW18Ru4CU7pGLn0DUn51Ocf8EvxE0EIkn2l8d kdFEsxzQk6Os7MvhmkngHlsKdqLnIy8zRZrTofpS9ukmNgSlQ6aAtZ4OKzZ2dZR3PagZ IIMIA36v45kPHXvJT9QX8XJfr6EW6A99N/kev2JQsJU5AqIbM3BZRM5TbO772KAEVOfo qeZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Mrk2vSog; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j2si7710592ilr.103.2021.08.14.23.36.40; Sat, 14 Aug 2021 23:36:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Mrk2vSog; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233827AbhHOGg0 (ORCPT + 99 others); Sun, 15 Aug 2021 02:36:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:46980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231238AbhHOGgZ (ORCPT ); Sun, 15 Aug 2021 02:36:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C73DD60E97; Sun, 15 Aug 2021 06:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1629009356; bh=iG8/1uEQnuQbL8AOB0uEcrxM/IfJQ2MTmeufhIsvyNA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Mrk2vSog7dvb+xd/oMDBPgZBP6nuqDJKGXA3UavmmJoDUley2nmkCClKOO4/rNXdg f+g/UKfaBSqsKLuAuHgNPv8Njt5D8OxrsoaJOWqkATWWqGXMLgkSO3AD8ZWIYeGrxf rnObwmxvB3RMg9E6zDpMg+uduvsxKDlLnUYImOHM= Date: Sun, 15 Aug 2021 08:33:11 +0200 From: Greg Kroah-Hartman To: Barry Song <21cnbao@gmail.com> Cc: Barry Song , "open list:STAGING SUBSYSTEM" , kbuild-all@lists.01.org, LKML , Andy Shevchenko Subject: Re: [driver-core:driver-core-testing 28/31] WARNING: modpost: vmlinux.o(.text.unlikely+0x156c): Section mismatch in reference from the function bitmap_equal() to the variable .init.data:initcall_level_names Message-ID: References: <202108141955.XlQXw3y4-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Aug 15, 2021 at 03:27:04PM +1200, Barry Song wrote: > On Sun, Aug 15, 2021 at 1:36 AM Greg Kroah-Hartman > wrote: > > > > On Sat, Aug 14, 2021 at 07:03:00PM +0800, kernel test robot wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git driver-core-testing > > > head: 3b35f2a6a625126c57475aa56b5357d8e80b404c > > > commit: 291f93ca339f5b5e6e90ad037bb8271f0f618165 [28/31] lib: test_bitmap: add bitmap_print_bitmask/list_to_buf test cases > > > config: xtensa-randconfig-r004-20210814 (attached as .config) > > > compiler: xtensa-linux-gcc (GCC) 11.2.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/gregkh/driver-core.git/commit/?id=291f93ca339f5b5e6e90ad037bb8271f0f618165 > > > git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > > > git fetch --no-tags driver-core driver-core-testing > > > git checkout 291f93ca339f5b5e6e90ad037bb8271f0f618165 > > > # save the attached .config to linux build tree > > > mkdir build_dir > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa 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.unlikely+0x156c): Section mismatch in reference from the function bitmap_equal() to the variable .init.data:initcall_level_names > > > The function bitmap_equal() references > > > the variable __initdata initcall_level_names. > > > This is often because bitmap_equal lacks a __initdata > > > annotation or the annotation of initcall_level_names is wrong. > > > > > > The below error/warnings are from parent commit: > > > << WARNING: modpost: vmlinux.o(.data+0x1a86d8): Section mismatch in reference from the variable qed_mfw_legacy_maps to the variable .init.rodata:__setup_str_initcall_blacklist > > > << WARNING: modpost: vmlinux.o(.data+0x1a87c8): Section mismatch in reference from the variable qed_mfw_ext_maps to the variable .init.rodata:__setup_str_initcall_blacklist > > > << WARNING: modpost: vmlinux.o(.data+0x1a8948): Section mismatch in reference from the variable qede_forced_speed_maps to the variable .init.rodata:__setup_str_initcall_blacklist > > > > > > --- > > > 0-DAY CI Kernel Test Service, Intel Corporation > > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > > > > Barry, can I get a fix for this? > > Hi Greg, > As I replied to Andy, this warning has nothing to do with my commit as my > commit doesn't call the involved functions at all. > > It has been there for more than one year. but i still send a patch for > this issue > over here: > https://lore.kernel.org/lkml/20210815032132.14530-1-21cnbao@gmail.com/T/#u > > Note this patch is not fixing the latest commits. It is a general > patch for bitmap. Ah, ok, nevermind, I missed that. greg k-h