Commit c97f3bdd authored by Liam Girdwood's avatar Liam Girdwood Committed by Mark Brown

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: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent fde39a6b
...@@ -263,7 +263,7 @@ TRACE_EVENT(snd_soc_dapm_output_path, ...@@ -263,7 +263,7 @@ TRACE_EVENT(snd_soc_dapm_output_path,
__assign_str(pname, path->name ? path->name : DAPM_DIRECT); __assign_str(pname, path->name ? path->name : DAPM_DIRECT);
__assign_str(psname, path->sink->name); __assign_str(psname, path->sink->name);
__entry->path_connect = path->connect; __entry->path_connect = path->connect;
__entry->path_sink = (int)path->sink; __entry->path_sink = (long)path->sink;
), ),
TP_printk("%c%s -> %s -> %s\n", TP_printk("%c%s -> %s -> %s\n",
...@@ -292,7 +292,7 @@ TRACE_EVENT(snd_soc_dapm_input_path, ...@@ -292,7 +292,7 @@ TRACE_EVENT(snd_soc_dapm_input_path,
__assign_str(pname, path->name ? path->name : DAPM_DIRECT); __assign_str(pname, path->name ? path->name : DAPM_DIRECT);
__assign_str(psname, path->source->name); __assign_str(psname, path->source->name);
__entry->path_connect = path->connect; __entry->path_connect = path->connect;
__entry->path_source = (int)path->source; __entry->path_source = (long)path->source;
), ),
TP_printk("%c%s <- %s <- %s\n", TP_printk("%c%s <- %s <- %s\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment