Re: [patch] block, sx8: fix pointer math issue getting fw version

From: Jeff Garzik
Date: Sat Mar 03 2012 - 12:11:07 EST


On 03/03/2012 01:58 AM, Jens Axboe wrote:
On 2012-03-02 20:00, Dan Carpenter wrote:
"mem" is type u8. We need parenthesis here or it screws up the pointer
math probably leading to an oops.

Applied, thanks Dan. I have marked it stable, too.

Please add Acked-by: Jeff Garzik <jgarzik@xxxxxxxxxx>

It is rather obscure hardware, but I do still maintain the driver :)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/