All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: ide <linux-ide@vger.kernel.org>, alan@redhat.com, bzolnier@gmail.com
Subject: Re: [PATCH] pata_it821x: fix section mismatch warning
Date: Wed, 27 Jun 2007 02:45:37 -0400	[thread overview]
Message-ID: <46820791.4080904@pobox.com> (raw)
In-Reply-To: <20070625104222.6bc805e9.randy.dunlap@oracle.com>

Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Fix section mismatch when CONFIG_HOTPLUG=n (but functions are used
> for resume):
> 
> WARNING: drivers/ata/pata_it821x.o(.text+0x3f): Section mismatch: reference to .init.text: (between 'it821x_reinit_one' and 'it821x_program_udma')
> WARNING: drivers/ata/pata_it821x.o(.text+0x691): Section mismatch: reference to .init.text: (between 'it821x_init_one' and 'it821x_passthru_set_dmamode')
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  drivers/ata/pata_it821x.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-2.6.22-rc6.orig/drivers/ata/pata_it821x.c
> +++ linux-2.6.22-rc6/drivers/ata/pata_it821x.c
> @@ -690,7 +690,7 @@ static struct ata_port_operations it821x
>  	.port_start	= it821x_port_start,
>  };
>  
> -static void __devinit it821x_disable_raid(struct pci_dev *pdev)
> +static void it821x_disable_raid(struct pci_dev *pdev)
>  {
>  	/* Reset local CPU, and set BIOS not ready */
>  	pci_write_config_byte(pdev, 0x5E, 0x01);

applied



      parent reply	other threads:[~2007-06-27  6:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 17:42 [PATCH] pata_it821x: fix section mismatch warning Randy Dunlap
2007-06-26  0:29 ` Alan Cox
2007-06-27  6:45 ` Jeff Garzik [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=46820791.4080904@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=alan@redhat.com \
    --cc=bzolnier@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.