diff options
author | Liam Girdwood <lrg@ti.com> | 2012-04-23 05:31:15 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-23 08:15:35 -0400 |
commit | c97f3bdd26080c2cb2a648c37b6dcb8eac2f91e7 (patch) | |
tree | b35a0e006486995ce7d18028f9bdbd3f1d803c66 /include/trace | |
parent | fde39a6b15612943673555aec7237f9e7228f27d (diff) |
ASoC: dapm: Fix x86_64 build warning.
Fixes the following build warning on x86_64.
In file included from include/trace/ftrace.h:567:0,
from include/trace/define_trace.h:86,
from include/trace/events/asoc.h:410,
from sound/soc/soc-core.c:45:
include/trace/events/asoc.h: In function 'ftrace_raw_event_snd_soc_dapm_output_path':
include/trace/events/asoc.h:246:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
include/trace/events/asoc.h: In function 'ftrace_raw_event_snd_soc_dapm_input_path':
include/trace/events/asoc.h:275:1: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/trace')
-rw-r--r-- | include/trace/events/asoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 6d8efb1cc8ce..5fc2dcdd21cd 100644 --- a/include/trace/events/asoc.h +++ b/include/trace/events/asoc.h | |||
@@ -263,7 +263,7 @@ TRACE_EVENT(snd_soc_dapm_output_path, | |||
263 | __assign_str(pname, path->name ? path->name : DAPM_DIRECT); | 263 | __assign_str(pname, path->name ? path->name : DAPM_DIRECT); |
264 | __assign_str(psname, path->sink->name); | 264 | __assign_str(psname, path->sink->name); |
265 | __entry->path_connect = path->connect; | 265 | __entry->path_connect = path->connect; |
266 | __entry->path_sink = (int)path->sink; | 266 | __entry->path_sink = (long)path->sink; |
267 | ), | 267 | ), |
268 | 268 | ||
269 | TP_printk("%c%s -> %s -> %s\n", | 269 | TP_printk("%c%s -> %s -> %s\n", |
@@ -292,7 +292,7 @@ TRACE_EVENT(snd_soc_dapm_input_path, | |||
292 | __assign_str(pname, path->name ? path->name : DAPM_DIRECT); | 292 | __assign_str(pname, path->name ? path->name : DAPM_DIRECT); |
293 | __assign_str(psname, path->source->name); | 293 | __assign_str(psname, path->source->name); |
294 | __entry->path_connect = path->connect; | 294 | __entry->path_connect = path->connect; |
295 | __entry->path_source = (int)path->source; | 295 | __entry->path_source = (long)path->source; |
296 | ), | 296 | ), |
297 | 297 | ||
298 | TP_printk("%c%s <- %s <- %s\n", | 298 | TP_printk("%c%s <- %s <- %s\n", |