Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3624520ybi; Tue, 18 Jun 2019 04:01:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLJfLNhwKt2r8Ess4BPhNt/WSIT9Rjc95I/E+43tUnzGs2aH/SAcAmbuxHu3LCZG1CV/hc X-Received: by 2002:a63:4a20:: with SMTP id x32mr2114363pga.107.1560855715643; Tue, 18 Jun 2019 04:01:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560855715; cv=none; d=google.com; s=arc-20160816; b=zHChgPIMugVcgerj3A4nbLCoy+bjZPQpfbm4rPxrOsoB1vAqPZOrPN+RkH60lnyDGg YlIv8Umk8OizwKQMtUstbZSZcADPxAuebLO//gRl/oBA4BuzO74smcfhpUP9ApHeqJNN 1/gQk6gBs4x3kWNIAPo5ITtUxP7+/Q2HVuDE4A8ld1PqtDKyYVK/x0l8nXEQ9cwBQE7x T0LLdBtNUKqbxOmDPD5ijGMvMFlzNp73wc8V1/g2L63shgDt6Xfatz09iD6UTFvNmpiu uoG9WAVxa4BdgsVuszSaYtfocF0BXeRQGHUhOuIwSorRG99TBPlqSEVQr5XIa6o0ktlk bWjA== 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:dkim-signature; bh=kO+Ld9oYjzAATMOMgs9ipgnAjY1R155cPSoZsGOuzvw=; b=LSEDm8uRgPY+kouRhqGBD4Tzi7lW/sSiYbIt1GBcEdEgDd3NS/pjzHMl4C5BdJ0k70 5kNt7v6BHVnpwX+J1nqHQib0LbkM6xA+Via6ssqMWHkY0qfAog+gTNQtlx/QqqDigTow XvCXvka2ezZatU4RmbRAJyvifeRfGLh9eJnuhlasteN5zy9L7v/iauj13OYphSAD+543 ru1ZVCIpm2TSbhhpQJ5Vggbp/0fphWtPb+xFuewppGacfkZbYZtbq2Ov3yDoayrO7irZ QxfCSHOXopufIy4sE/mBpooN+72aux1izD6QQaWp7ZCClWNoOZDtnz8JjzVJWmQUDwmT Agow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=k38HwrCb; 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 c128si13385589pfa.221.2019.06.18.04.01.39; Tue, 18 Jun 2019 04:01:55 -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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=k38HwrCb; 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 S1729609AbfFRLAF (ORCPT + 99 others); Tue, 18 Jun 2019 07:00:05 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:39800 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfFRLAF (ORCPT ); Tue, 18 Jun 2019 07:00:05 -0400 Received: by mail-io1-f68.google.com with SMTP id r185so22740888iod.6 for ; Tue, 18 Jun 2019 04:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kO+Ld9oYjzAATMOMgs9ipgnAjY1R155cPSoZsGOuzvw=; b=k38HwrCbmC3eCmrmtgABfdfrVM7qEZtCCm57u1eT0iBPWQTRkN9T279vnl54dQsROk VZps4HuMSCod0NNe+C0Wx4K7EA3G/tUYAnBoS+itZKD4yvF37EfGtB2zC84Vdt3v3SW7 l7JR3JfrZmQktJuK5PTfW+Iwj24COPpoDb/VojmW9Rq64ZP2X7bW8YXODnEcG+nBZoW4 n3IPWiPSnclpe75r5M2CsaVSbPA5QKAiiYlF0WSSH60C3g9Z6PVBS8H2slAvAS5VU7vN 9g1Tus6PQ5hO9i3PEBGnTrBcsBrpYX5qjq1KnAU0s/VJIu7LoyzVUCfcrCDtPYCV0Brw 57BA== 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=kO+Ld9oYjzAATMOMgs9ipgnAjY1R155cPSoZsGOuzvw=; b=STQ3S7hZ74IwwB5cmhQbckazY4HgBsPoS4kagfDRzjpcoj7oxLn89VXhnlS4MoA4gG 0BoB/BbzZP0rxfPBsnQ7LCNz5C4lB4QgnPdQcI1/v7ZEqv6d7QbGA2EYUoiBAyV9IkOA jYxJFXcYiiKYr6FZVAWdvYt27dlm8xI65oY1gORr/GfQHZhyQ6WU8YCJpkNZHRcrWUQa OeGkfmD5hZDtiTD68tiSg8Q2q6ZsCzEesy9euI8SC0yiDmkQ2KKG39tRANFXdbylMkxg lfKk2LIw3T05VwuEDP1Y/+2GaVdvQlHYDXDFAiHP3omApmeNrtvAwk7DZYpPJYW92LTo TjTg== X-Gm-Message-State: APjAAAULz6daeklm9BeAWY/OWMe/7/XlXxL866NpcqZiIJL8diyOqq7J h+spQQfK0jMYeDsdwrVzy49RvyzDQf7SX4gnOUdEiw== X-Received: by 2002:a5d:94d0:: with SMTP id y16mr33611523ior.123.1560855604399; Tue, 18 Jun 2019 04:00:04 -0700 (PDT) MIME-Version: 1.0 References: <20190617122449.457744-1-arnd@arndb.de> <20190617122449.457744-2-arnd@arndb.de> In-Reply-To: <20190617122449.457744-2-arnd@arndb.de> From: Olof Johansson Date: Tue, 18 Jun 2019 11:59:52 +0100 Message-ID: Subject: Re: [PATCH 2/3] ARM: ixp4xx: mark ixp4xx_irq_setup as __init To: Arnd Bergmann Cc: ARM-SoC Maintainers , Linus Walleij , Imre Kaloz , Krzysztof Halasa , Linux ARM Mailing List , 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 Mon, Jun 17, 2019 at 1:25 PM Arnd Bergmann wrote: > > Kbuild complains about ixp4xx_irq_setup not being __init > itself in some configurations: > > WARNING: vmlinux.o(.text+0x85bae4): Section mismatch in reference from the function ixp4xx_irq_setup() to the function .init.text:set_handle_irq() > The function ixp4xx_irq_setup() references > the function __init set_handle_irq(). > This is often because ixp4xx_irq_setup lacks a __init > annotation or the annotation of set_handle_irq is wrong. > > I suspect it normally gets inlined, so we get no such warning, > but clang makes this obvious when the function is left out > of line. > > Signed-off-by: Arnd Bergmann Applied to arm/fixes. Thanks! -Olof