Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp30528pxf; Tue, 30 Mar 2021 18:13:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9tGaLpsN7c49nKEV2g8XEbjxupyNOhFOCxecgtv86SUvVS8XMPJZUgEnBZghDDV+BC/jv X-Received: by 2002:a17:906:cb87:: with SMTP id mf7mr884411ejb.81.1617153207747; Tue, 30 Mar 2021 18:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617153207; cv=none; d=google.com; s=arc-20160816; b=N+If3vK9YaCu/fIgSmcm6OlsPcWMb0HpH+353fZcbw3al0+Zvc/b6rrw6Mdy8hPkb5 ZIlMYkUKNVH/eGfijVizZdcvSn5zKdfbtbNlLGLS+AQt/186v310j09UjlpusOIp0k6A TdRRY/D5d0EjUdp1pAAo66qfl3hOvKlp7rBQC0DDGWZZ+FfQZMnQl9bKzps1dbIuGyXO LC1N6hhlUD6ASyYMVSjDBUmldkXXq+a60JTRlvPS+Ov6WtZ7WwqsfbFJTH5PMawsQc1i dStVK6J2g1Qi0JSSpAiucNYAOBBr+pGtgxRNV0JuLJImC+PPAle20Nc1km7nu8htvVwd R1Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=sv3OB8/XlURbFgjqeXRjQ+CF0dCIRsuNZvyOgZALcUc=; b=u/STv3r5NEzYAKh3/u3FY/2YlRRRN20MCwzGyFCqGA6XhjokdcUDExvx8RQqGbctcg 8CuKr+06OnCyFAZfFOKfgWUAEXCot0eZdcyudnQAT6IC8tdJr4Hmus7oz/9TSEZHuUKn DlL/hUKDnzWdIELyZFGa7ZVmLCvuyzIOSRNQ0vHLUucUoQzT1lyGS963v+jX9uiBnHro HF3I6sHfMIWn6drJKP6+BnxNANfnUPSD3afw/VeeSHXbiza+EraQquCyEXuagCofHorZ gck9Fo9aVJe88oRfhN3QYSwMP+1Sm/mE7hlphHQVjjpzoGyna2JzgJui4hy6m4sboR4l l+hQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi6si577271edb.419.2021.03.30.18.13.05; Tue, 30 Mar 2021 18:13:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233433AbhCaBLF (ORCPT + 99 others); Tue, 30 Mar 2021 21:11:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233278AbhCaBKi (ORCPT ); Tue, 30 Mar 2021 21:10:38 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59D2EC061574 for ; Tue, 30 Mar 2021 18:10:38 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4F97Xr3S33z9t0G; Wed, 31 Mar 2021 12:10:31 +1100 (AEDT) From: Michael Ellerman To: Michael Ellerman , Nathan Chancellor Cc: linuxppc-dev@lists.ozlabs.org, Paul Mackerras , clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Benjamin Herrenschmidt In-Reply-To: <20210302200829.2680663-1-nathan@kernel.org> References: <20210302200829.2680663-1-nathan@kernel.org> Subject: Re: [PATCH] powerpc/prom: Mark identical_pvr_fixup as __init Message-Id: <161715296566.226945.1083928509084280457.b4-ty@ellerman.id.au> Date: Wed, 31 Mar 2021 12:09:25 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2 Mar 2021 13:08:29 -0700, Nathan Chancellor wrote: > If identical_pvr_fixup() is not inlined, there are two modpost warnings: > > WARNING: modpost: vmlinux.o(.text+0x54e8): Section mismatch in reference > from the function identical_pvr_fixup() to the function > .init.text:of_get_flat_dt_prop() > The function identical_pvr_fixup() references > the function __init of_get_flat_dt_prop(). > This is often because identical_pvr_fixup lacks a __init > annotation or the annotation of of_get_flat_dt_prop is wrong. > > [...] Applied to powerpc/next. [1/1] powerpc/prom: Mark identical_pvr_fixup as __init https://git.kernel.org/powerpc/c/1ef1dd9c7ed27b080445e1576e8a05957e0e4dfc cheers