linux-next: build warnings after merge of the sound-asoc tree
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
linux-next: build warnings after merge of the sound-asoc tree
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
Re: linux-next: build warnings after merge of the sound-asoc tree
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
Re: linux-next: build warnings after merge of the sound-asoc tree
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
linux-next: build warnings after merge of the sound-asoc tree
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
linux-next: build warnings after merge of the sound-asoc tree
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