Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1324742pxb; Fri, 27 Aug 2021 06:31:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2k4npw+UMsR5mmJ+86GPOKwQ4576CG0W428AdbuGoZE9Che3hjlr2z3ABzjVa27ibnqtc X-Received: by 2002:a17:906:3148:: with SMTP id e8mr9947908eje.240.1630071062751; Fri, 27 Aug 2021 06:31:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630071062; cv=none; d=google.com; s=arc-20160816; b=e4AskNH/xA7HCfMOmpv9l/INvQ0WWZMgmPAjCUqfFaoYFZonujUBNWpzHA3+dsbGcK BkXpxqHFexQcYRzESlFog/+4O0WA/+fsxhiYNjsmbSrXXHl9hTqHg4Av2xxzHuJ9KT9K yhFbdF/oIZq5dmRY3D6I+6WOL4wUcKK6j9x61aGk6w4aVsDzQb2OTx18S+lVPx6dTBPA pDd9DzTW0ZuubObUebWwqC2fCezAYvTw2vRqYImKmNiGVEkbmyo+VhDXXlhSd62gjAxr SOGEHGBpQVdrBNY5BEKKn2P28qjw9G2pa9rWhFKzJOaAEYJAFARhoUvd2rhz+klZmfeQ U0yA== 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=YTgREeTM9CM3Rf7jzkhK4EwqAIVgMeU9WLEs9hhWDmM=; b=fxP1rBs2VEo28RZOxr92AzPkWCDpGepFwhnYRQ1ATSnO0FkiQoLdAhEwzDbUYgLito 6TfJbsNeHRPGKcww2jjT+7OfC6QUJFCn0xIDugA82eFxHRIhx631SNz+vUCkOeTVetnD gUXWklPnndFv8ky7u56Im7ItSLsafTpPEspwE3yVRHid1ql2edquwma+t50vVn61TVav WPH7oBdBJiCe89qkWTbqZwRIF754v/fMndwUIzBmWkKshDdatKIjaZXuVdFlNpLULazP C/MfYKkn/FWqDWSidge0P0uze2374S8X81vjgwLQM9GzSgyZygwFF43L9uMvtLOo60yW zMDA== 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 i10si7184641ejd.745.2021.08.27.06.30.34; Fri, 27 Aug 2021 06:31:02 -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 S245241AbhH0N1d (ORCPT + 99 others); Fri, 27 Aug 2021 09:27:33 -0400 Received: from ozlabs.org ([203.11.71.1]:49847 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231964AbhH0N1d (ORCPT ); Fri, 27 Aug 2021 09:27:33 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Gx0qQ66mqz9s1l; Fri, 27 Aug 2021 23:26:42 +1000 (AEST) From: Michael Ellerman To: Nathan Chancellor , Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, clang-built-linux@googlegroups.com, Nick Desaulniers In-Reply-To: <20210816185711.21563-1-nathan@kernel.org> References: <20210816185711.21563-1-nathan@kernel.org> Subject: Re: [PATCH] powerpc/xive: Do not mark xive_request_ipi() as __init Message-Id: <163007069928.56462.2139354750294195638.b4-ty@ellerman.id.au> Date: Fri, 27 Aug 2021 23:24:59 +1000 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 Mon, 16 Aug 2021 11:57:11 -0700, Nathan Chancellor wrote: > Compiling ppc64le_defconfig with clang-14 shows a modpost warning: > > WARNING: modpost: vmlinux.o(.text+0xa74e0): Section mismatch in > reference from the function xive_setup_cpu_ipi() to the function > .init.text:xive_request_ipi() > The function xive_setup_cpu_ipi() references > the function __init xive_request_ipi(). > This is often because xive_setup_cpu_ipi lacks a __init > annotation or the annotation of xive_request_ipi is wrong. > > [...] Applied to powerpc/fixes. [1/1] powerpc/xive: Do not mark xive_request_ipi() as __init https://git.kernel.org/powerpc/c/3f78c90f9eb2e228f44ecc8f4377753f0e11dbab cheers