git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195b1c3
)
block, sx8: fix pointer math issue getting fw version
author
Dan Carpenter
<dan.carpenter@oracle.com>
Sat, 3 Mar 2012 11:09:17 +0000
(12:09 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 19 Mar 2012 16:02:34 +0000
(09:02 -0700)
commit
ea5f4db8ece896c2ab9eafa0924148a2596c52e4
upstream.
"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>
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found