diff options
author | 2012-03-03 12:09:17 +0100 | |
---|---|---|
committer | 2012-03-03 19:44:39 +0100 | |
commit | ea5f4db8ece896c2ab9eafa0924148a2596c52e4 (patch) | |
tree | 41159bbbc99b8c56c8ea3466785ea657c1842583 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Block: use a freezable workqueue for disk-event polling (diff) | |
download | wireguard-linux-ea5f4db8ece896c2ab9eafa0924148a2596c52e4.tar.xz wireguard-linux-ea5f4db8ece896c2ab9eafa0924148a2596c52e4.zip |
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>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions