Re: [PATCH 08/10] ASoC: Intel: Skylake: Remove get dsp_ops in cleanup routine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kranthi,

[auto build test WARNING on asoc/for-next]
[also build test WARNING on v4.11-rc1 next-20170309]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/jeeja-kp-intel-com/ASoC-Intel-Skylake-Driver-updates/20170310-104533
base:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: i386-randconfig-s1-201710 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   sound/soc/intel/skylake/skl-messages.c: In function 'skl_init_dsp':
>> sound/soc/intel/skylake/skl-messages.c:277:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     skl->skl_sst->dsp_ops = ops;
                           ^

vim +/const +277 sound/soc/intel/skylake/skl-messages.c

   261			dev_err(bus->dev, "ioremap error\n");
   262			return -ENXIO;
   263		}
   264	
   265		ops = skl_get_dsp_ops(skl->pci->device);
   266		if (!ops)
   267			return -EIO;
   268	
   269		loader_ops = ops->loader_ops();
   270		ret = ops->init(bus->dev, mmio_base, irq,
   271					skl->fw_name, loader_ops,
   272					&skl->skl_sst);
   273	
   274		if (ret < 0)
   275			return ret;
   276	
 > 277		skl->skl_sst->dsp_ops = ops;
   278		dev_dbg(bus->dev, "dsp registration status=%d\n", ret);
   279	
   280		return ret;
   281	}
   282	
   283	int skl_free_dsp(struct skl *skl)
   284	{
   285		struct hdac_ext_bus *ebus = &skl->ebus;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux