projects
/
blktrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blktrace: Use be32_to_cpu for blk_io_trace->cpu.
[blktrace.git]
/
blktrace.h
diff --git
a/blktrace.h
b/blktrace.h
index 816ce613715aef82ecda29dc70d0c1e03c89a7fc..8b3e031119abb90cee712a87b527a6af2c92eed6 100644
(file)
--- a/
blktrace.h
+++ b/
blktrace.h
@@
-110,7
+110,7
@@
static inline void trace_to_cpu(struct blk_io_trace *t)
t->action = be32_to_cpu(t->action);
t->pid = be32_to_cpu(t->pid);
t->device = be32_to_cpu(t->device);
- t->cpu = be
16
_to_cpu(t->cpu);
+ t->cpu = be
32
_to_cpu(t->cpu);
t->error = be16_to_cpu(t->error);
t->pdu_len = be16_to_cpu(t->pdu_len);
}