block, sx8: fix pointer math issue getting fw version
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 3 Mar 2012 11:09:17 +0000 (12:09 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 3 Mar 2012 18:44:39 +0000 (19:44 +0100)
commitea5f4db8ece896c2ab9eafa0924148a2596c52e4
tree41159bbbc99b8c56c8ea3466785ea657c1842583
parent62d3c5439c534b0e6c653fc63e6d8c67be3a57b1
block, sx8: fix pointer math issue getting fw version

"mem" is type u8.  We need parenthesis here or it screws up the pointer
math probably leading to an oops.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@kernel.org
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/sx8.c