linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: arnd@arndb.de
Cc: linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ide: icside: remove incorrect initconst annotation
Date: Sun, 20 Mar 2016 17:01:06 -0400 (EDT)	[thread overview]
Message-ID: <20160320.170106.770272160812836442.davem@davemloft.net> (raw)
In-Reply-To: <1454941909-2778808-1-git-send-email-arnd@arndb.de>

From: Arnd Bergmann <arnd@arndb.de>
Date: Mon,  8 Feb 2016 15:31:45 +0100

> The icside_probe function can be called for hotplugged devices, so
> its reference to the __initconst icside_v6_port_info variable
> may be invalid, as Kbuild points out:
> 
> WARNING: drivers/ide/icside.o(.text+0x338): Section mismatch in reference from the function icside_probe()
>  to the (unknown reference) .init.rodata:(unknown)
> 
> Interestingly, this problem only shows up with clang but not
> with gcc, which optimizes out the __initconst variable.
> 
> This removes the incorrect annotation.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Applied.

      reply	other threads:[~2016-03-20 21:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 14:31 [PATCH] ide: icside: remove incorrect initconst annotation Arnd Bergmann
2016-03-20 21:01 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160320.170106.770272160812836442.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).