Matthew Wilcox 951b62c11e [SCSI] advansys: Fix bug in AdvLoadMicrocode
buf[i] can be up to 0xfd, so doubling it and assigning the result to an
unsigned char truncates the value.  Just use an unsigned int instead;
it's only a temporary.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-03-07 10:05:43 -06:00
..
2008-03-05 07:53:06 -05:00
2008-03-04 16:35:12 -08:00
2008-02-05 09:44:23 -08:00
2008-02-06 10:41:15 -08:00
2008-02-24 20:03:42 +01:00
2008-02-08 09:22:38 -08:00
2008-03-04 11:03:09 +02:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:13 -08:00
2008-02-26 14:12:09 +09:00
2008-02-21 15:27:07 -08:00
2008-03-04 16:35:12 -08:00