Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp471235imu; Tue, 11 Dec 2018 02:12:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wilr7GUA058n5JhO9XrQN2s0BXmtzVzrKRlWlPfoULReiiA0JivDhJE7Q0eog6aoiVRZBC X-Received: by 2002:a62:528e:: with SMTP id g136mr16511172pfb.111.1544523178158; Tue, 11 Dec 2018 02:12:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544523178; cv=none; d=google.com; s=arc-20160816; b=EhgCAI4RZ9mQ7CbIyp54etm1xbZrlspOMuZW6St5Mpi1XWwCcQqsG8wwOaQ/fFt0yB 6P8UfxiCM6bcEdYFpIZGkPtSYdTuHFfzZF9+LuUi2v+nUqG/7dYGedbP5pWzsMm1PDGN dChAapFiu1sv/e02MhDR0BtTrHpQVBft4VZBAY/legwlUWyMPpzJfJ6JjzQFdmA0nham RqFVWplhTR5MUCVuPMJSHud8SYQiguD7uwDYi7R55d7w0/JgYvrlFA4BvvrkwF7GZcB+ LXLjbvHc8KZimdHbnuqRwqgYrk0KWDeXXbp6Q1h23vH/YyEzacpkCGr9QMTRPipXfCqC FZpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=oUptHz8tAupzd+qIgaO0UnYurIGVlvC4FJiiGfsyRnw=; b=0ttlJ0QcNKcdGQEMSHBKqv4VZKMuyUNChLxX7NflBaXCQ4x4U9KzQ/xXGW9LIh7tkC ZTRAcMsS//2pmme4mL6bdnGfre4VgucZTVmOUxStoLx2RqV3bIgaYDHsGQ+n/uk9krWO RHk5OK8AkWQS8IuWUlFIuFQPJjp3WHhpYfiE8IaNQTPTpilKRjSyQW01o84EwdbFTiYQ rInbMdnsjOgeDMLdeNSspsmucKMziR1QAgtuKZ+dMjvebH7/PZDkyn56FFSmWCzxgyFS +mLpBHHiJq7kQ2rlRWx0NFrzzXNvebBia+vFIGsloK1qsLsZz7dHHyI4RiGvVupBlzlU RuVQ== 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 e22si11177770pge.479.2018.12.11.02.12.43; Tue, 11 Dec 2018 02:12:58 -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; 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 S1726272AbeLKKKk (ORCPT + 99 others); Tue, 11 Dec 2018 05:10:40 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:38455 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726134AbeLKKKj (ORCPT ); Tue, 11 Dec 2018 05:10:39 -0500 Received: by mail-qt1-f196.google.com with SMTP id p17so15725773qtl.5 for ; Tue, 11 Dec 2018 02:10:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oUptHz8tAupzd+qIgaO0UnYurIGVlvC4FJiiGfsyRnw=; b=sBr6j3KbvzY4MyjA7RFIKd7IowT0GZUuq2FCyrk/jDADMSk7hlPWUbPOg2QZ/LY0cm vHnUuEBT3Kj3j86kLxXVYePtcE8fHQTqupUyWxPHnlB+JAbiDuu9Dlru/JAzKsjXaBfj GUVBXFC+iM8sZ9/JwPHqoI4qAYO3MESCwewouzR0eFsA8ilYMx7v7EuWxOkuZgkORJPD hmgC1SI0esxEV2020y+mQ2TZppB9VED+7dD4E0t6OjzeKRUukAM3uZfYD7kn6+qCbOU9 GF7zD2qim94VBIJOeobFWLrAbYDHgYAppqM7iWaHtPMFKdcR/9fSYuGU83FAnfAHQ5Ru dJjw== X-Gm-Message-State: AA+aEWYSwBT27zHoQtxrQTlQ176UgoIMmzLXbw0hYESwT7jA3njfWIVG 97N7k/tlDoMhB1dXGGRqMmtopfY6RD7sAZCwXVk= X-Received: by 2002:ac8:7451:: with SMTP id h17mr15017284qtr.319.1544523038716; Tue, 11 Dec 2018 02:10:38 -0800 (PST) MIME-Version: 1.0 References: <20181210215856.2238253-1-arnd@arndb.de> <20181210215856.2238253-4-arnd@arndb.de> In-Reply-To: From: Arnd Bergmann Date: Tue, 11 Dec 2018 11:10:21 +0100 Message-ID: Subject: Re: [PATCH 4/4] ARM: pxa: avoid section mismatch warning To: Ulf Hansson Cc: arm-soc , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Linus Walleij , grinberg@compulab.co.il, Miquel Raynal , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 11, 2018 at 10:40 AM Ulf Hansson wrote: > > On Mon, 10 Dec 2018 at 23:00, Arnd Bergmann wrote: > > > > WARNING: vmlinux.o(.text+0x19f90): Section mismatch in reference from the function littleton_init_lcd() to the function .init.text:pxa_set_fb_info() > > The function littleton_init_lcd() references > > the function __init pxa_set_fb_info(). > > This is often because littleton_init_lcd lacks a __init > > annotation or the annotation of pxa_set_fb_info is wrong. > > > > WARNING: vmlinux.o(.text+0xf824): Section mismatch in reference from the function zeus_register_ohci() to the function .init.text:pxa_set_ohci_info() > > The function zeus_register_ohci() references > > the function __init pxa_set_ohci_info(). > > This is often because zeus_register_ohci lacks a __init > > annotation or the annotation of pxa_set_ohci_info is wrong. > > > > WARNING: vmlinux.o(.text+0xf95c): Section mismatch in reference from the function cm_x300_init_u2d() to the function .init.text:pxa3xx_set_u2d_info() > > The function cm_x300_init_u2d() references > > the function __init pxa3xx_set_u2d_info(). > > This is often because cm_x300_init_u2d lacks a __init > > annotation or the annotation of pxa3xx_set_u2d_info is wrong. > > > > Signed-off-by: Arnd Bergmann > > I have queued a bunch of pxa changes via my mmc tree for gpio > descriptor conversions, by Linus Walleij. > > Are those causing this problem? Should I queue this one via mmc tree as well? Sorry for the lack of description in the changelog. I'm fairly sure that these are old bugs that only appeared now if you build with CONFIG_NO_AUTO_INLINE, we should take these through arm-soc, and I should probably add an explanation. Arnd