[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20100113145738.GQ13413@beardog.cce.hp.com>
Date: Wed, 13 Jan 2010 08:57:38 -0600
From: scameron@...rdog.cce.hp.com
To: Jeff Mahoney <jeffm@...e.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux SCSI <linux-scsi@...r.kernel.org>
Subject: Re: your mail
On Tue, Jan 12, 2010 at 07:49:00PM -0500, Jeff Mahoney wrote:
> Subject: [patch 5/6] hpsa: Fix section mismatch
> References: <20100113004855.550486769@...e.com>
> Content-Disposition: inline; filename=patches.rpmify/hpsa-fix-section-mismatch
>
> hpsa_pci_init calls hpsa_interrupt_mode which is a __devinit function.
> hpsa_pci_init is only called by hpsa_init_one which is also __devinit, so
> mark it __devinit as well.
>
> Signed-off-by: Jeff Mahoney <jeffm@...e.com>
> ---
> drivers/scsi/hpsa.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/scsi/hpsa.c
> +++ b/drivers/scsi/hpsa.c
> @@ -3111,7 +3111,7 @@ default_int_mode:
> return;
> }
>
> -static int hpsa_pci_init(struct ctlr_info *h, struct pci_dev *pdev)
> +static int __devinit hpsa_pci_init(struct ctlr_info *h, struct pci_dev *pdev)
> {
> ushort subsystem_vendor_id, subsystem_device_id, command;
> __u32 board_id, scratchpad = 0;
>
Thanks.
-- steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists