Re: [PATCH -2nd repost 1/1] ATA: pata_via, fix double put on isabridge

From: Jeff Garzik
Date: Mon Nov 16 2009 - 22:17:57 EST


On 11/04/2009 11:11 AM, Jiri Slaby wrote:
In via_init_one, when via_isa_bridges iterator reaches
PCI_DEVICE_ID_VIA_ANON and last but one via_isa_bridges bridge is
found but rev doesn't match, pci_dev_put(isa) is called twice.

Do pci_dev_put only once.

Signed-off-by: Jiri Slaby<jirislaby@xxxxxxxxx>
Cc: Jeff Garzik<jgarzik@xxxxxxxxx>
---
drivers/ata/pata_via.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)

applied


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/