diff options
| author | 2009-03-06 10:50:53 -0500 | |
|---|---|---|
| committer | 2009-03-10 00:34:03 -0400 | |
| commit | 156b5f172a64103bcb13b6d26288388b9019caa3 (patch) | |
| tree | e29141720bd9d0e4c722dd3c7dc8c62d5113db43 /kernel/trace/trace_workqueue.c | |
| parent | tracing: optimize trace_printk() (diff) | |
| download | wireguard-linux-156b5f172a64103bcb13b6d26288388b9019caa3.tar.xz wireguard-linux-156b5f172a64103bcb13b6d26288388b9019caa3.zip | |
tracing: typecast sizeof and offsetof to unsigned int
Impact: fix compiler warnings
On x86_64 sizeof and offsetof are treated as long, where as on x86_32
they are int. This patch typecasts them to unsigned int to avoid
one arch giving warnings while the other does not.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_workqueue.c')
0 files changed, 0 insertions, 0 deletions
