Stephen M. Cameron
b7f7ed5565
cciss: Make cciss_seq_show handle holes in the h->drv[] array
...
commit 531c2dc70d339c5dfa8c3eb628c3459dc6f3a075 upstream.
It is possible (and expected) for there to be holes in the h->drv[]
array, that is, some elements may be NULL pointers. cciss_seq_show
needs to be made aware of this possibility to avoid an Oops.
To reproduce the Oops which this fixes:
1) Create two "arrays" in the Array Configuratino Utility and
several logical drives on each array.
2) cat /proc/driver/cciss/cciss* in an infinite loop
3) delete some of the logical drives in the first "array."
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com >
Signed-off-by: Jens Axboe <jens.axboe@oracle.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2010-04-01 15:55:27 -07:00
..
2010-01-18 10:28:54 -08:00
2009-07-05 22:39:08 +01:00
2010-01-06 14:26:29 -08:00
2009-11-09 16:22:16 -08:00
2010-04-01 15:55:27 -07:00
2009-07-12 12:22:34 -07:00
2009-12-08 10:22:51 -08:00
2009-08-15 12:58:45 +09:00
2009-10-22 15:11:55 -07:00
2009-09-01 12:45:08 -04:00
2009-11-09 16:22:27 -08:00
2009-12-08 10:22:35 -08:00
2010-01-06 14:26:23 -08:00
2009-08-04 12:10:06 +02:00
2009-12-18 13:43:12 -08:00
2009-07-12 12:22:34 -07:00
2009-12-18 13:44:26 -08:00
2009-10-05 09:33:06 -07:00
2010-01-18 10:28:47 -08:00
2010-01-06 14:26:39 -08:00
2009-12-18 13:43:50 -08:00
2009-07-06 14:03:44 -07:00
2009-06-23 10:38:47 -07:00
2010-01-06 14:26:50 -08:00
2009-12-18 13:43:54 -08:00
2009-08-26 20:06:53 -07:00
2009-07-30 16:03:46 +09:30
2009-12-18 13:44:24 -08:00
2010-01-06 14:26:28 -08:00
2010-01-06 14:26:43 -08:00
2009-10-05 09:33:07 -07:00
2009-10-05 09:31:34 -07:00
2009-11-09 16:22:42 -08:00
2009-12-08 10:22:19 -08:00
2010-04-01 15:55:27 -07:00
2010-01-07 07:21:10 -08:00
2009-07-22 09:27:18 -07:00
2009-07-10 12:35:36 +02:00
2009-08-02 15:42:39 +02:00
2009-06-30 18:55:59 -07:00
2009-12-08 10:22:48 -08:00
2009-11-09 16:23:17 -08:00
2010-01-06 14:26:13 -08:00
Merge branches 'acerhdf', 'acpi-pci-bind', 'bjorn-pci-root', 'bugzilla-12904', 'bugzilla-13121', 'bugzilla-13396', 'bugzilla-13533', 'bugzilla-13612', 'c3_lock', 'hid-cleanups', 'misc-2.6.31', 'pdc-leak-fix', 'pnpacpi', 'power_nocheck', 'thinkpad_acpi', 'video' and 'wmi' into release
2009-06-24 01:19:50 -04:00
2009-07-30 16:45:53 -07:00
2009-12-08 10:21:18 -08:00
2009-09-24 08:43:56 -07:00
2009-12-08 10:21:19 -08:00
2010-01-06 14:26:42 -08:00
2009-07-17 10:28:19 -07:00
2010-01-06 14:26:30 -08:00
2009-12-18 13:44:06 -08:00
2009-08-18 16:31:13 -07:00
2009-12-18 13:43:30 -08:00
2009-10-22 15:11:59 -07:00
2009-07-12 12:22:34 -07:00
2009-08-26 20:06:52 -07:00
2010-01-06 14:26:34 -08:00
2009-12-18 13:44:21 -08:00
2009-11-09 16:22:28 -08:00
2009-07-06 13:57:03 -07:00
2009-10-22 15:11:55 -07:00
2009-11-09 16:21:59 -08:00
2009-10-05 09:31:43 -07:00