All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the sound-asoc tree
@ 2016-08-16  1:36 Stephen Rothwell
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Rothwell @ 2016-08-16  1:36 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: linux-next, linux-kernel, Pierre-Louis Bossart, Irina Tirdea

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

WARNING: sound/soc/intel/boards/snd-soc-sst-bytcr-rt5640.o(.text+0x7e7): Section mismatch in reference from the function snd_byt_rt5640_mc_probe() to the variable .init.rodata:cpu_ids.43814
The function snd_byt_rt5640_mc_probe() references
the variable __initconst cpu_ids.43814.
This is often because snd_byt_rt5640_mc_probe lacks a __initconst 
annotation or the annotation of cpu_ids.43814 is wrong.

WARNING: sound/soc/intel/boards/snd-soc-sst-bytcr-rt5640.o(.text+0x9d5): Section mismatch in reference from the function snd_byt_rt5640_mc_probe() to the variable .init.rodata:cpu_ids.43814
The function snd_byt_rt5640_mc_probe() references
the variable __initconst cpu_ids.43814.
This is often because snd_byt_rt5640_mc_probe lacks a __initconst 
annotation or the annotation of cpu_ids.43814 is wrong.

WARNING: sound/soc/intel/atom/sst/snd-intel-sst-acpi.o(.text+0x20f): Section mismatch in reference from the function sst_acpi_probe() to the variable .init.rodata:cpu_ids.44453
The function sst_acpi_probe() references
the variable __initconst cpu_ids.44453.
This is often because sst_acpi_probe lacks a __initconst 
annotation or the annotation of cpu_ids.44453 is wrong.

WARNING: sound/soc/intel/atom/sst/snd-intel-sst-acpi.o(.text+0x20f): Section mismatch in reference from the function sst_acpi_probe() to the variable .init.rodata:cpu_ids.44453
The function sst_acpi_probe() references
the variable __initconst cpu_ids.44453.
This is often because sst_acpi_probe lacks a __initconst 
annotation or the annotation of cpu_ids.44453 is wrong.

WARNING: sound/soc/intel/boards/snd-soc-sst-bytcr-rt5640.o(.text+0x7e7): Section mismatch in reference from the function snd_byt_rt5640_mc_probe() to the variable .init.rodata:cpu_ids.43814
The function snd_byt_rt5640_mc_probe() references
the variable __initconst cpu_ids.43814.
This is often because snd_byt_rt5640_mc_probe lacks a __initconst 
annotation or the annotation of cpu_ids.43814 is wrong.

WARNING: sound/soc/intel/boards/snd-soc-sst-bytcr-rt5640.o(.text+0x9d5): Section mismatch in reference from the function snd_byt_rt5640_mc_probe() to the variable .init.rodata:cpu_ids.43814
The function snd_byt_rt5640_mc_probe() references
the variable __initconst cpu_ids.43814.
This is often because snd_byt_rt5640_mc_probe lacks a __initconst 
annotation or the annotation of cpu_ids.43814 is wrong.

I am not sure which commit(s) introduced these.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux-next: build warnings after merge of the sound-asoc tree
  2016-05-31  1:43 Stephen Rothwell
@ 2016-05-31  8:16   ` Charles Keepax
  0 siblings, 0 replies; 7+ messages in thread
From: Charles Keepax @ 2016-05-31  8:16 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel

On Tue, May 31, 2016 at 11:43:57AM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
> 
> sound/soc/codecs/cs47l24.c: In function 'cs47l24_adsp2_irq'
> :
> sound/soc/codecs/cs47l24.c:1091:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>              (void *)i);
>              ^
> sound/soc/codecs/wm5110.c: In function 'wm5110_adsp2_irq':
> sound/soc/codecs/wm5110.c:2246:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>              (void *)i);
>              ^
> 
> Introduced by commit
> 
>   7baa7e2490e1 ("ASoC: arizona: Add event notification on voice trigger events")

Apologies I will get a fix out today.

Thanks,
Charles

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux-next: build warnings after merge of the sound-asoc tree
@ 2016-05-31  8:16   ` Charles Keepax
  0 siblings, 0 replies; 7+ messages in thread
From: Charles Keepax @ 2016-05-31  8:16 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, Liam Girdwood, linux-next, linux-kernel

On Tue, May 31, 2016 at 11:43:57AM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
> 
> sound/soc/codecs/cs47l24.c: In function 'cs47l24_adsp2_irq'
> :
> sound/soc/codecs/cs47l24.c:1091:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>              (void *)i);
>              ^
> sound/soc/codecs/wm5110.c: In function 'wm5110_adsp2_irq':
> sound/soc/codecs/wm5110.c:2246:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
>              (void *)i);
>              ^
> 
> Introduced by commit
> 
>   7baa7e2490e1 ("ASoC: arizona: Add event notification on voice trigger events")

Apologies I will get a fix out today.

Thanks,
Charles

^ permalink raw reply	[flat|nested] 7+ messages in thread

* linux-next: build warnings after merge of the sound-asoc tree
@ 2016-05-31  1:43 Stephen Rothwell
  2016-05-31  8:16   ` Charles Keepax
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2016-05-31  1:43 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Charles Keepax

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

sound/soc/codecs/cs47l24.c: In function 'cs47l24_adsp2_irq'
:
sound/soc/codecs/cs47l24.c:1091:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             (void *)i);
             ^
sound/soc/codecs/wm5110.c: In function 'wm5110_adsp2_irq':
sound/soc/codecs/wm5110.c:2246:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
             (void *)i);
             ^

Introduced by commit

  7baa7e2490e1 ("ASoC: arizona: Add event notification on voice trigger events")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux-next: build warnings after merge of the sound-asoc tree
  2012-04-20  4:28 Stephen Rothwell
@ 2012-04-23  9:35 ` Liam Girdwood
  0 siblings, 0 replies; 7+ messages in thread
From: Liam Girdwood @ 2012-04-23  9:35 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Mark Brown, linux-next, linux-kernel

On Fri, 2012-04-20 at 14:28 +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the sound-asoc tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
> 
> 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]

Following fix sent to alsa-devel.

diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h
index 6d8efb1..5fc2dcd 100644
--- a/include/trace/events/asoc.h
+++ b/include/trace/events/asoc.h
@@ -263,7 +263,7 @@ TRACE_EVENT(snd_soc_dapm_output_path,
 		__assign_str(pname, path->name ? path->name : DAPM_DIRECT);
 		__assign_str(psname, path->sink->name);
 		__entry->path_connect = path->connect;
-		__entry->path_sink = (int)path->sink;
+		__entry->path_sink = (long)path->sink;
 	),
 
 	TP_printk("%c%s -> %s -> %s\n",
@@ -292,7 +292,7 @@ TRACE_EVENT(snd_soc_dapm_input_path,
 		__assign_str(pname, path->name ? path->name : DAPM_DIRECT);
 		__assign_str(psname, path->source->name);
 		__entry->path_connect = path->connect;
-		__entry->path_source = (int)path->source;
+		__entry->path_source = (long)path->source;
 	),
 
 	TP_printk("%c%s <- %s <- %s\n",
-- 
1.7.5.4



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* linux-next: build warnings after merge of the sound-asoc tree
@ 2012-04-20  4:28 Stephen Rothwell
  2012-04-23  9:35 ` Liam Girdwood
  0 siblings, 1 reply; 7+ messages in thread
From: Stephen Rothwell @ 2012-04-20  4:28 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

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]

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* linux-next: build warnings after merge of the sound-asoc tree
@ 2011-04-12  2:05 Stephen Rothwell
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Rothwell @ 2011-04-12  2:05 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: linux-next, linux-kernel, Peter Hsiang

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]

Hi all,

After merging the sound-asoc tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

sound/soc/codecs/max98095.c:607: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:610: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:616: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:624: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:633: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:636: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:642: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:645: warning: initialization discards qualifiers from pointer target type
sound/soc/codecs/max98095.c:648: warning: initialization discards qualifiers from pointer target type

Introduced by commit 82a5a936f6de ("ASoC: Add max98095 CODEC driver").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-08-16  1:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-16  1:36 linux-next: build warnings after merge of the sound-asoc tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2016-05-31  1:43 Stephen Rothwell
2016-05-31  8:16 ` Charles Keepax
2016-05-31  8:16   ` Charles Keepax
2012-04-20  4:28 Stephen Rothwell
2012-04-23  9:35 ` Liam Girdwood
2011-04-12  2:05 Stephen Rothwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.