Received: by 2002:a17:90a:1609:0:0:0:0 with SMTP id n9csp2280641pja; Thu, 26 Mar 2020 12:33:48 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvZyKH98d+8vKTJRX4J7vqDMmSTEJviDmCf7v3uo+04cZCldeQHtIusnfVKzl0pqn6fK/et X-Received: by 2002:a05:6808:aaa:: with SMTP id r10mr1357091oij.111.1585251227960; Thu, 26 Mar 2020 12:33:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585251227; cv=none; d=google.com; s=arc-20160816; b=IYepGPkv4AZu2Y0Fpumse9Hqa5IjpM0ve1GQ8lhlS5mk+RzkfEnQNnqHnar5sxGFOi ugIRIDEoOEpm7KTOjTi9ur+RMnQyfMqWOSUwuKeqL1twyaQpR5APkWocLbyzFl/heJ7p t7rJg+A+u2+8+0DBLMDzEcpScBqR999mLcjnG+wgs4s6svkjLNV/glMuo/8t1g8LY6Eu zKJAUO+kEKkPG3Cx/NgCBgLc5F2/CFVY8eaAxFkq8NkwEW/wuln9bSmbaCLo8jQNTNmk Ut11PgDZ8mNlntR6nVP3rmNLmw5fmfJ66Z0PuRbway5BN4UwVRjvQuRSDBbqqu8m/jBY Jwtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=H84XupT7P+0U1KixkFLvNAG30AkDJteLTyVKeWDjrrY=; b=PJG3MsZqo8m/kR0gWqmXdxwsGaP0HzBdRmgGkzgJ0QfP+escedGGXtb2lUW0vfTfTE EJIhridA+9WLY8tv5P8LEt5lP1CsS4t8jjgAFfKcuzh4qug5icznHLhteflEvxImRgM5 5sv+pJxYaks4gmSy2ko3dhvUG4lc8aq/luquQ1kOmGoVhN1g7pTIHfFclXE8slSMeL3p Fysvd6QbDClHUHPfBUshcKK9QaTg9ruxPM7ssqNqlCwz04v52ayTheTn2cReEz3En/IO UFTgt4LWQI55XwtqhoVFafpv+KmAZOeihmo8vR5iEQU4EromFxoknEFwGjW/W1WnSZMQ O8Qg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4si1387186otf.195.2020.03.26.12.33.33; Thu, 26 Mar 2020 12:33:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728587AbgCZTdP (ORCPT + 99 others); Thu, 26 Mar 2020 15:33:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:43848 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727354AbgCZTdP (ORCPT ); Thu, 26 Mar 2020 15:33:15 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AA01AAAC7; Thu, 26 Mar 2020 19:33:13 +0000 (UTC) Date: Thu, 26 Mar 2020 20:33:11 +0100 From: Michal =?iso-8859-1?Q?Such=E1nek?= To: "Naveen N. Rao" Cc: Allison Randal , Benjamin Herrenschmidt , Christophe Leroy , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Michael Ellerman , Paul Mackerras , Russell Currey , Thomas Gleixner Subject: Re: [PATCH] powerpc/64: Fix section mismatch warnings. Message-ID: <20200326193311.GL25468@kitsune.suse.cz> References: <20200326163742.28990-1-msuchanek@suse.de> <1585245057.hh0vutz28g.naveen@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1585245057.hh0vutz28g.naveen@linux.ibm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2020 at 11:22:03PM +0530, Naveen N. Rao wrote: > Michal Suchanek wrote: > > Fixes the following warnings: > > > > WARNING: vmlinux.o(.text+0x2d24): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() > > The function __boot_from_prom() references > > the function __init prom_init(). > > This is often because __boot_from_prom lacks a __init > > annotation or the annotation of prom_init is wrong. > > > > WARNING: vmlinux.o(.text+0x2fd0): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() > > The function start_here_common() references > > the function __init start_kernel(). > > This is often because start_here_common lacks a __init > > annotation or the annotation of start_kernel is wrong. > > > > Signed-off-by: Michal Suchanek > > --- > > arch/powerpc/kernel/head_64.S | 4 ++++ > > 1 file changed, 4 insertions(+) > > Michael committed a similar patch just earlier today: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id=6eeb9b3b9ce588f14a697737a30d0702b5a20293 Missed it because it did not reach master yet. Thanks Michal