Arnd Bergmann
0b9e7b741f
hpsa: fix non-x86 builds
...
commit 28e134464734 "[SCSI] hpsa: enable unit attention reporting"
turns on unit attention notifications, but got the change wrong for
all architectures other than x86, which now store an uninitialized
value into the device register.
Gcc helpfully warns about this:
../drivers/scsi/hpsa.c: In function 'hpsa_set_driver_support_bits':
../drivers/scsi/hpsa.c:6373:17: warning: 'driver_support' is used uninitialized in this function [-Wuninitialized]
driver_support |= ENABLE_UNIT_ATTN;
^
This moves the #ifdef so only the prefetch-enable is conditional
on x86, not also reading the initial register contents.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 28e134464734 "[SCSI] hpsa: enable unit attention reporting"
Cc: stable@vger.kernel.org # v3.14+
Acked-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-07-25 17:17:00 -04:00
..
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:54 -04:00
2013-06-04 11:15:59 -07:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:54 -04:00
2014-07-25 17:16:55 -04:00
2014-07-25 17:16:59 -04:00
2014-07-25 17:16:59 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:38 +02:00
2014-06-06 07:57:37 -06:00
2014-05-19 19:12:23 +02:00
2014-05-07 13:15:46 +02:00
2014-07-25 17:16:34 -04:00
2014-07-25 17:16:55 -04:00
2014-04-18 14:20:48 +02:00
2013-09-04 13:52:35 -07:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:38 +02:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:58 -04:00
2014-07-25 17:16:58 -04:00
2014-06-20 08:22:39 +08:00
2014-06-06 07:57:37 -06:00
2014-07-17 22:07:37 +02:00
2014-06-25 13:29:05 +02:00
2014-07-25 17:16:55 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:25:13 +02:00
2013-11-29 08:48:39 +04:00
2013-11-29 08:48:39 +04:00
2013-11-29 08:48:39 +04:00
2014-07-25 17:16:56 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2013-11-26 11:09:07 +01:00
2013-11-26 11:09:07 +01:00
2013-11-26 11:09:07 +01:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:37 +02:00
2012-06-28 11:44:36 +02:00
2013-04-09 14:13:23 -04:00
2014-07-17 22:07:37 +02:00
2014-06-09 18:54:06 -07:00
2014-05-28 12:11:08 +02:00
2013-10-14 15:26:04 +02:00
2013-10-25 09:57:57 +01:00
2013-06-26 18:32:47 -07:00
2013-01-03 15:57:01 -08:00
2014-07-17 22:07:40 +02:00
2013-07-09 22:52:29 +01:00
2014-07-17 22:07:38 +02:00
2013-01-03 15:57:01 -08:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:10:43 +02:00
2013-04-09 14:13:17 -04:00
2014-03-19 15:04:44 -07:00
2014-07-17 22:07:38 +02:00
2013-08-01 18:08:34 -07:00
2013-08-01 18:08:34 -07:00
2013-01-03 15:57:01 -08:00
2013-06-26 18:32:47 -07:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:05:37 +02:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2014-03-19 15:04:44 -07:00
2013-04-09 14:13:16 -04:00
2013-11-26 11:09:07 +01:00
2014-07-25 17:16:28 -04:00
2014-06-02 09:55:02 +02:00
2014-07-25 17:17:00 -04:00
2014-06-02 09:54:59 +02:00
2014-07-17 22:07:37 +02:00
2012-11-27 08:59:43 +04:00
2013-04-09 14:13:16 -04:00
2014-07-17 22:07:37 +02:00
2014-03-19 15:04:44 -07:00
2014-04-01 19:19:15 -07:00
2014-03-19 15:04:42 -07:00
2013-11-29 08:48:39 +04:00
2013-04-09 14:13:27 -04:00
2014-03-15 10:19:19 -07:00
2014-05-23 16:28:53 -04:00
2014-04-11 16:15:36 -04:00
2013-01-03 15:57:01 -08:00
2014-07-25 17:16:55 -04:00
2013-01-03 15:57:01 -08:00
2014-03-15 10:19:18 -07:00
2014-07-25 07:43:43 -04:00
2013-01-03 15:57:01 -08:00
2014-05-28 12:10:43 +02:00
2014-05-28 12:05:37 +02:00
2014-07-17 22:07:44 +02:00
2014-07-17 22:07:38 +02:00
2014-03-27 08:26:31 -07:00
2014-07-17 22:07:37 +02:00
2013-01-03 15:57:01 -08:00
2013-04-09 14:13:15 -04:00
2013-10-14 15:26:04 +02:00
2013-04-15 14:30:44 -06:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:35 +02:00
2014-07-25 17:16:56 -04:00
2014-07-17 22:07:37 +02:00
2014-05-28 18:14:16 +02:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2014-07-17 22:07:37 +02:00
2014-06-06 07:57:37 -06:00
2014-07-25 17:16:55 -04:00
2014-05-28 12:05:36 +02:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:17 -04:00
2014-07-17 22:07:37 +02:00
2014-02-27 08:07:39 -08:00
2014-07-25 17:16:55 -04:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:37 +02:00
2013-06-24 13:00:10 -07:00
2014-07-25 07:43:43 -04:00
2014-07-17 22:07:41 +02:00
2014-07-25 17:16:28 -04:00
2014-04-24 13:44:54 -04:00
2014-04-10 15:30:35 -07:00
2014-07-25 17:16:28 -04:00
2014-07-17 22:07:37 +02:00
2014-07-25 17:16:41 -04:00
2014-06-06 16:08:16 -07:00
2014-07-25 17:16:28 -04:00
2014-07-25 17:16:54 -04:00
2014-07-25 17:16:54 -04:00
2014-07-17 22:07:37 +02:00
2014-07-17 22:07:44 +02:00
2014-07-25 17:16:40 -04:00
2013-11-23 22:33:50 -08:00
2014-07-25 17:16:42 -04:00
2014-07-17 22:07:33 +02:00
2014-03-27 08:26:31 -07:00
2014-07-25 07:43:45 -04:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2014-07-17 22:07:39 +02:00
2014-07-17 22:07:39 +02:00
2014-07-25 17:16:41 -04:00
2014-07-25 17:16:41 -04:00
2014-07-17 22:07:41 +02:00
2012-09-14 17:59:29 +01:00
2013-10-14 15:26:04 +02:00
2014-03-12 13:16:54 +04:00
2014-07-17 22:07:37 +02:00
2014-05-28 12:16:28 +02:00
2014-05-28 12:16:28 +02:00
2014-05-28 12:11:33 +02:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00
2014-07-17 22:07:37 +02:00
2013-10-25 11:51:37 +01:00
2014-07-17 22:07:37 +02:00
2014-06-25 13:29:33 +02:00
2014-03-19 15:04:46 -07:00
2014-03-19 15:04:46 -07:00
2014-07-17 22:07:37 +02:00
2013-04-09 14:13:15 -04:00
2014-03-19 15:04:44 -07:00
2013-01-03 15:57:01 -08:00
2013-11-26 11:09:07 +01:00