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 61164C433F5 for ; Sat, 18 Dec 2021 16:33:50 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AE6416B0072; Sat, 18 Dec 2021 11:33:39 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A95716B0073; Sat, 18 Dec 2021 11:33:39 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 95D776B0074; Sat, 18 Dec 2021 11:33:39 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0165.hostedemail.com [216.40.44.165]) by kanga.kvack.org (Postfix) with ESMTP id 837646B0072 for ; Sat, 18 Dec 2021 11:33:39 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 3CF9218105271 for ; Sat, 18 Dec 2021 16:33:29 +0000 (UTC) X-FDA: 78931460538.24.A89E042 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf29.hostedemail.com (Postfix) with ESMTP id 1DC5B12003E for ; Sat, 18 Dec 2021 16:33:25 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 67CCFB80944; Sat, 18 Dec 2021 16:33:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A874BC36AE1; Sat, 18 Dec 2021 16:33:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1639845206; bh=sHp5u6OL90WGtx3b08M36ajwdXzcm+OwKBpVrirbiKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IdgkSz99+Qn/oaV8f2BvQTZ74EQkauYDEk/gsKLK4uimVVLQbaXkiSYUpNvv5IgMD XC7SuHd3mpqiSVgv6A3TiEB4FfmaF1ZPyeB/A8TTdIWm8D8QH57dZ6ycpVrEg6bH5k S4RPJAroTO1/cMMfba3ULWf/R6vYNykZycW2lhT5myxFyp1aiLaHbY48dUYZzh43pe ovsbERUotwnpt9BeEqF0rLOK5hIfALOE85Nbi5MeiRNcxHFXCEdydbP87gI8MmUsPu le1RaHROLJaJ0y8DKgfhHtdzyg9OlUTV/cTyY0O4oQ0B0fqCWq8rY110DZ86B5UKeY JXmByVAaQsukQ== From: Mike Rapoport To: akpm@linux-foundation.org, rppt@kernel.org, Jackie Liu Cc: Mike Rapoport , linux-mm@kvack.org Subject: Re: [PATCH v2] memblock: fix memblock_phys_alloc() section mismatch error Date: Sat, 18 Dec 2021 18:33:11 +0200 Message-Id: <163984517763.21328.143129251813228355.b4-ty@linux.ibm.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20211217020754.2874872-1-liu.yun@linux.dev> References: <20211217020754.2874872-1-liu.yun@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Stat-Signature: 7eyy6fa6x6dh8hed8ytc7pedpoaxmy8e X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 1DC5B12003E Authentication-Results: imf29.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=IdgkSz99; spf=pass (imf29.hostedemail.com: domain of rppt@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-HE-Tag: 1639845205-665495 Content-Transfer-Encoding: quoted-printable 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: From: Mike Rapoport On Fri, 17 Dec 2021 10:07:54 +0800, Jackie Liu wrote: > From: Jackie Liu >=20 > Fix modpost Section mismatch error in memblock_phys_alloc() >=20 > [...] > WARNING: modpost: vmlinux.o(.text.unlikely+0x1dcc): Section mismatch in= reference > from the function memblock_phys_alloc() to the function .init.text:memb= lock_phys_alloc_range() > The function memblock_phys_alloc() references > the function __init memblock_phys_alloc_range(). > This is often because memblock_phys_alloc lacks a __init > annotation or the annotation of memblock_phys_alloc_range is wrong. >=20 > [...] Applied, thanks! [1/1] memblock: fix memblock_phys_alloc() section mismatch error (no commit info) Best regards, --=20 Mike Rapoport