Xiaotian Feng
c91bc6ccd1
ahci: fix Null pointer dereference in achi_host_active()
...
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@redhat.com>
Signed-off-by: Xiaotian Feng <xtfeng@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Alexander Gordeev <agordeev@redhat.com>
Cc: linux-ide@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
2013-07-23 10:25:32 -04:00
..
2013-07-02 19:54:16 -07:00
2013-06-17 11:23:05 -07:00
2013-07-23 10:25:32 -04:00
2013-07-02 19:54:16 -07:00
2013-07-16 05:52:02 -06:00
2013-07-22 17:11:14 -04:00
2013-07-02 19:54:16 -07:00
2013-06-25 00:51:33 +02:00
2013-07-03 19:49:46 -07:00
2013-05-14 11:13:04 -07:00
2013-06-11 00:14:34 -07:00
2013-07-22 16:15:01 -04:00
2013-05-14 11:13:04 -07:00
2013-05-14 11:44:07 -07:00
2013-06-24 15:45:28 -07:00
2013-06-25 00:51:33 +02:00
2013-02-20 17:10:53 -05:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-05-24 10:26:13 +09:00
2013-06-02 22:22:03 -07:00
2013-04-03 19:52:10 -04:00
2013-05-24 10:26:13 +09:00
2013-06-02 22:22:03 -07:00
2013-05-24 10:26:13 +09:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2012-11-28 12:38:41 -05:00
2013-05-12 15:19:46 +02:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-01-03 15:57:03 -08:00
2013-05-24 10:26:13 +09:00
2013-06-02 22:22:03 -07:00
2013-01-03 15:57:03 -08:00
2013-04-03 19:53:10 -04:00
2013-06-02 22:22:03 -07:00
2013-05-24 10:26:13 +09:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-04-03 19:53:30 -04:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2013-03-15 12:26:03 -07:00
2013-06-02 22:22:03 -07:00
2013-01-03 15:57:03 -08:00
2013-05-24 10:26:13 +09:00
2013-01-03 15:57:03 -08:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-03-04 17:12:52 -05:00
2013-01-03 15:57:03 -08:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-06-02 22:22:03 -07:00
2013-05-14 11:13:04 -07:00
2012-12-14 09:43:39 -05:00
2013-05-24 10:26:13 +09:00
2013-07-02 19:54:16 -07:00
2013-07-22 17:11:14 -04:00
2013-01-03 15:57:03 -08:00
2013-06-02 22:22:03 -07:00
2013-05-14 11:13:04 -07:00
2013-07-02 19:54:16 -07:00
2013-06-02 22:22:03 -07:00
2013-07-02 19:54:16 -07:00
2013-04-09 14:13:28 -04:00
2013-05-14 11:13:04 -07:00
2013-05-14 11:13:04 -07:00
2013-01-03 15:57:03 -08:00