Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp467405imu; Tue, 11 Dec 2018 02:08:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/VVbsKbuXkHSTxMIFIawd2CKalnTUUF/UUm9JN02+B/l78PDLd9Jn6Wi53g8F0j0tL+IUPr X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr15446914plb.185.1544522904715; Tue, 11 Dec 2018 02:08:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544522904; cv=none; d=google.com; s=arc-20160816; b=TZ94A/KrSgLEavFWmMHkuVh9xxDPuh5HpUTb+Dw+3MfwsvGJi//LHDgKxy/bXUXeaW FHZ6k11KBupoRuMFyPYVYfLFzfb+W9FV/3u2fIMXPHmV8JOinbnRMTv1d+5sXp5yEv+U 2iRWLdETY5MBKqVsl9EUj5Isz72yt7ZDlfTe+ppTCAafjYLpweXkTnEC0QFIZw+wnyLa CKVNKjfje5Uxm5wFl8H6LuxnRX5td6ow82Etayebr6yX7kC2uepb8PaeT+t17Zp5aX0M ULLqhz9KrOHBv7ifrMwDnMt6zB8UKuGD7xwoDMyNKBUiQgn5qVpCzD+iJh3eRg2OLeF7 2xog== 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:dkim-signature; bh=JhVzsSVTu5/1KUGpEPQdBbgEcXVIhDUjHvu9SEMn77c=; b=t5kFYj/yjEgytuhhODC9e5X0RhZYdEC4S3jQ5/0XzG94S+S1/vqJadWVcg9Rp7RLWq L2TT+tvWpKUZNhghXq1kLq7Qobd6hSBkABELuBnlDMZUT9EHGS62/rIej0JdNGXnIibx yW9X3jLNV8sr/HlS0Ih0u9AdwyGLrUfuKRHhoWfps+KlPUCzGrAqanpjA2KH1UlpH6b8 gI1+U/aOeOXKFowd3edHftKtZAtlS6LvezPFFrauS+mkt0eskVx7BY+ImIrkWMK+/pre ByIG0MbflpNbxreE15ut1XOZOgPzQ8GdtkF6TWPVWfcsbI7JTl2mg9ErBauRL0icmByO Na4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZStDF5Ib; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bj11si11929619plb.21.2018.12.11.02.08.04; Tue, 11 Dec 2018 02:08:24 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZStDF5Ib; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726212AbeLKKFy (ORCPT + 99 others); Tue, 11 Dec 2018 05:05:54 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:38621 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbeLKKFy (ORCPT ); Tue, 11 Dec 2018 05:05:54 -0500 Received: by mail-ed1-f66.google.com with SMTP id h50so12018142ede.5; Tue, 11 Dec 2018 02:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=JhVzsSVTu5/1KUGpEPQdBbgEcXVIhDUjHvu9SEMn77c=; b=ZStDF5IbrSXTiKnvC/gCzwThTDxP+1rDl1LafpVD4vYinS8N8QPf7V7o/AjzB+nCk6 xhu31RY87ywjBROzqt2K1PYvsQLGiIIehqtZ+eGvOvzbP/TUTdTG2hJORednkEXHtz92 bP/d3ZXWpNso/9/BxHqZB2N25WDP4NpmnzLxlo3NH5aSv00vJEq2q0q0h3PM0vM6zPWI xwhToeR0hVOBhl1SYWtPCHM4kcHfYEnqrlvuQvUjnEXG7m2+vGmot+PU2RoO7YT9ZZF7 6SwhmuRLVsSOjMgyIKjnD7dHeqD8SK5VZjXv/xwNnNouvfQKF1wBU97Yrk8xiRxfsfhG ZyUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=JhVzsSVTu5/1KUGpEPQdBbgEcXVIhDUjHvu9SEMn77c=; b=aW4c02FGkHekvK9cC9avt8nbtPz0l3U+5nxvrzO8X5KYU4isqmyT+OWpD1RUdJCFN/ L5PSfGWpjJH1dIW//RidVf8O0cXMiBvgTXBJ0chTbgI0HX4qjxex1FoKeq7TC8qdQx2j 5FFtaPcrhgAGQwYqVMsq335AMzqL9BVX1GcUqzZEsob9jNQ65i0vhR7p+wJZyGFHIvdE I+Dns72QU80VhNq2Sv83MfzQdmZ0D5bCxADrwXq5VIezFdiYD0USuotBGAskSbA9AaRZ s5ffDCQNjDr8u1d90REufLpumTvoLJH6xpbXuqwasyhCIvDvIj16WsgCHIdW7P76Y9tH PGuw== X-Gm-Message-State: AA+aEWY/+Rz4EyVyFAVHPgiHx/JlEhDXD4G1kMClOixgHw9ba1ws/Xeh rKcD74NiEe3SQOsR+GBgWGU= X-Received: by 2002:a17:906:55d2:: with SMTP id z18-v6mr1606668ejp.163.1544522752693; Tue, 11 Dec 2018 02:05:52 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id by5-v6sm2163120ejb.7.2018.12.11.02.05.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Dec 2018 02:05:51 -0800 (PST) Date: Tue, 11 Dec 2018 11:05:50 +0100 From: Thierry Reding To: Arnd Bergmann Cc: arm@kernel.org, Jonathan Hunter , linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] ARM: tegra: avoid section mismatch warning Message-ID: <20181211100550.GD14426@ulmo> References: <20181210215856.2238253-1-arnd@arndb.de> <20181210215856.2238253-2-arnd@arndb.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8w3uRX/HFJGApMzv" Content-Disposition: inline In-Reply-To: <20181210215856.2238253-2-arnd@arndb.de> 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 --8w3uRX/HFJGApMzv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 10, 2018 at 10:58:37PM +0100, Arnd Bergmann wrote: > WARNING: vmlinux.o(.text+0x39ecc): Section mismatch in reference from the= function tegra114_gic_cpu_pm_registration() to the (unknown reference) .in= it.rodata:(unknown) > The function tegra114_gic_cpu_pm_registration() references > the (unknown reference) __initconst (unknown). > This is often because tegra114_gic_cpu_pm_registration lacks a __initconst > annotation or the annotation of (unknown) is wrong. >=20 > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-tegra/irq.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I'm not seeing these. Do I need to enable any special options to trigger these? Or are these just so new that I haven't run into them yet? In either case, I see that this is called by tegra_init_irq() and that does have an __init annotation, so this looks good to me: Acked-by: Thierry Reding --8w3uRX/HFJGApMzv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAlwPi/4ACgkQ3SOs138+ s6FLVQ/+NM4HKqTPuyuEUc0S1R5ieZZ6+FH1S1uUzhJVbjr3yp6GsVL8fkXR6dMv 4A0o92B1GuH8D/JKFi+Wy5U1JIRBokNkg+o2B358cTOHUUhKc4OQ2Q7/3gyNXJX6 0xCI6IBrG7nrsYrgGYuyl4/h0kuyffG2Ot0bxIBxkrfx/YHebKRUKebL6ociI7Q6 ZPYYhmbs7GM1XENuOSRhLvyfADDDHeYmevM3oOPaBHcaYZ5AxrkUlcQ4mhAdL7yh k+TxI575WuGxSzs4lgRCA9qAjsKjR+BoLeaYA9b1PEW9PNxgoLq6w1EdK+p62ay+ EncuT4kzZmsa5BlY9ADbEIDel6t7PKF+dFljssnmutrB7V1WVav2mjXvbeBIRcl5 t0y7OJtG2+BMCMANxDvIvNZ2mNwI0awHGIzf9j9Dk8M6WsdLXB1og/i9VOFjL6fW mRoJQRCw15a6xdxwAlOVBN81/+aocrNmF2c1u5kDcSgsjQqhMbGFR2Kq6ZBDQVeF 604EDZyQ/KX7+cn3RnojlCzTPo/ahhrb5kGO0ypJPEXoV8MuuUSXULAFblHmHF5S Klrv3iPlnxB1xfZ1UubentR8gqZZeArXPJAdYPLZ2V4VA9U/2k6xAM6Mob+Y+dbK 1S7UktZGm9/20Yfq14rZ+DpNoPpjmg/Q/Kkd1VFCrKp5lMospsw= =QpbD -----END PGP SIGNATURE----- --8w3uRX/HFJGApMzv--