Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded

Michal Piotrowski
2007-01-27T16:03:34Z

akpm@osdl.org napisał(a):
> The mm snapshot broken-out-2007-01-26-00-36.tar.gz has been uploaded to
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/mm/broken-out-2007-01-26-00-36.tar.gz
>

drivers/ata/sata_inic162x.c: In function ‘inic_pci_device_resume’:
drivers/ata/sata_inic162x.c:652: warning: ignoring return value of ‘ata_pci_device_do_resume’, declared with attribute warn_unused_result
drivers/ata/sata_inic162x.c: In function ‘inic_init_one’:
drivers/ata/sata_inic162x.c:727: error: ‘SA_SHIRQ’ undeclared (first use in this function)
drivers/ata/sata_inic162x.c:727: error: (Each undeclared identifier is reported only once
drivers/ata/sata_inic162x.c:727: error: for each function it appears in.)
make[2]: *** [drivers/ata/sata_inic162x.o] Błąd 1
make[1]: *** [drivers/ata] Błąd 2
make: *** [drivers] Błąd 2

SA_SHIRQ was removed. IRQF_SHARED should be used instead?

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/)

Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>

--- linux-work-clean/drivers/ata/sata_inic162x.c 2007-01-26 16:47:31.000000000 +0100
+++ linux-work/drivers/ata/sata_inic162x.c 2007-01-27 16:53:26.000000000 +0100
@@ -724,7 +724,7 @@ static int inic_init_one(struct pci_dev
probe_ent->n_ports = NR_PORTS;

probe_ent->irq = pdev->irq;
- probe_ent->irq_flags = SA_SHIRQ;
+ probe_ent->irq_flags = IRQF_SHARED;

probe_ent->mmio_base = mmio_base;