[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130723142625.GA18186@mtj.dyndns.org>
Date: Tue, 23 Jul 2013 10:26:25 -0400
From: Tejun Heo <tj@...nel.org>
To: Xiaotian Feng <xtfeng@...il.com>
Cc: Alexander Gordeev <agordeev@...hat.com>, linux-ide@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] AHCI: fix Null pointer dereference in
achi_host_active()
On Tue, Jul 23, 2013 at 11:54:10AM +0800, Xiaotian Feng wrote:
> commit b29900e6 (AHCI: Make distinct names for ports in /proc/interrupts)
> introuded a regression, which resulted Null pointer dereference for achi
> host with dummy ports. For ahci ports, when the port is dummy port, its
> private_data will be NULL, as ata_dummy_port_ops doesn't support ->port_start.
>
> changes in v2: use pp to check dummy ports, update comments
>
> Reported-and-tested-by: Alex Williamson <alex.williamson@...hat.com>
> Signed-off-by: Xiaotian Feng <xtfeng@...il.com>
> Cc: Alexander Gordeev <agordeev@...hat.com>
> Cc: Tejun Heo <tj@...nel.org>
> Cc: linux-ide@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
Applied to libata/for-3.11-fixes.
Thanks.
--
tejun
--
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