tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/adsp head: 25326bb263894a528288716901bd434372927844 commit: 25326bb263894a528288716901bd434372927844 [4/4] ASoC: wm_adsp: Implement support for algorithm-specific coefficient blocks
sparse warnings:
+ sound/soc/codecs/wm_adsp.c:664:29: sparse: incorrect type in assignment (different modifiers) sound/soc/codecs/wm_adsp.c:664:29: expected struct wm_adsp_region *mem sound/soc/codecs/wm_adsp.c:664:29: got struct wm_adsp_region const * sound/soc/codecs/wm_adsp.c: In function 'wm_adsp_load_coeff': sound/soc/codecs/wm_adsp.c:664:8: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
vim +664 sound/soc/codecs/wm_adsp.c
2159ad93 Mark Brown 2012-10-11 648 case WMFW_NAME_TEXT: 2159ad93 Mark Brown 2012-10-11 649 case WMFW_INFO_TEXT: 2159ad93 Mark Brown 2012-10-11 650 break; 2159ad93 Mark Brown 2012-10-11 651 case WMFW_ABSOLUTE: 2159ad93 Mark Brown 2012-10-11 652 region_name = "register"; 2159ad93 Mark Brown 2012-10-11 653 reg = offset; 2159ad93 Mark Brown 2012-10-11 654 break; 25326bb2 Mark Brown 2013-01-08 655 25326bb2 Mark Brown 2013-01-08 656 case WMFW_ADSP1_DM: 25326bb2 Mark Brown 2013-01-08 657 case WMFW_ADSP1_ZM: 25326bb2 Mark Brown 2013-01-08 658 case WMFW_ADSP2_XM: 25326bb2 Mark Brown 2013-01-08 659 case WMFW_ADSP2_YM: 25326bb2 Mark Brown 2013-01-08 660 adsp_dbg(dsp, "%s.%d: %d bytes in %x for %x\n", 25326bb2 Mark Brown 2013-01-08 661 file, blocks, le32_to_cpu(blk->len), 25326bb2 Mark Brown 2013-01-08 662 type, le32_to_cpu(blk->id)); 25326bb2 Mark Brown 2013-01-08 663 25326bb2 Mark Brown 2013-01-08 @664 mem = wm_adsp_find_region(dsp, type); 25326bb2 Mark Brown 2013-01-08 665 if (!mem) { 25326bb2 Mark Brown 2013-01-08 666 adsp_err(dsp, "No base for region %x\n", type); 25326bb2 Mark Brown 2013-01-08 667 break; 25326bb2 Mark Brown 2013-01-08 668 } 25326bb2 Mark Brown 2013-01-08 669 25326bb2 Mark Brown 2013-01-08 670 reg = 0; 25326bb2 Mark Brown 2013-01-08 671 list_for_each_entry(alg_region, 25326bb2 Mark Brown 2013-01-08 672 &dsp->alg_regions, list) {
--- 0-DAY kernel build testing backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation