[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091104163611.4e71f01d@lxorguk.ukuu.org.uk>
Date: Wed, 4 Nov 2009 16:36:11 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Jiri Slaby <jirislaby@...il.com>
Cc: jgarzik@...ox.com, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org, Jiri Slaby <jirislaby@...il.com>
Subject: Re: [PATCH -2nd repost 1/1] ATA: pata_via, fix double put on isa
bridge
On Wed, 4 Nov 2009 17:11:03 +0100
Jiri Slaby <jirislaby@...il.com> 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@...il.com>
> Cc: Jeff Garzik <jgarzik@...ox.com>
Acked-by: Alan Cox <alan@...ux.intel.com>
Definitely a far saner way to do it.
--
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