tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/sti-sas head: 32a726b2e089ec1851965290a610c4ae9cab3303 commit: 32a726b2e089ec1851965290a610c4ae9cab3303 [1/1] ASoC: sti-sas: Add sti platform codec config: x86_64-randconfig-a0-07111354 (attached as .config) reproduce: git checkout 32a726b2e089ec1851965290a610c4ae9cab3303 # save the attached .config to linux build tree make ARCH=x86_64
All error/warnings (new ones prefixed by >>):
sound/soc/codecs/sti-sas.c: In function 'stih416_dac_probe': sound/soc/codecs/sti-sas.c:231:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] __func__, (int)dac->rst); ^ sound/soc/codecs/sti-sas.c: In function 'sti_sas_driver_probe':
sound/soc/codecs/sti-sas.c:558:46: warning: dereferencing 'void *' pointer
if (!of_match_node(sti_sas_dev_match, pnode)->data) { ^
sound/soc/codecs/sti-sas.c:558:46: error: request for member 'data' in something not a structure or union
sound/soc/codecs/sti-sas.c:563:61: warning: dereferencing 'void *' pointer drvdata->dev_data = of_match_node(sti_sas_dev_match, pnode)->data; ^ sound/soc/codecs/sti-sas.c:563:61: error: request for member 'data' in something not a structure or union
vim +/data +558 sound/soc/codecs/sti-sas.c
552 drvdata = devm_kzalloc(&pdev->dev, sizeof(struct sti_sas_data), 553 GFP_KERNEL); 554 if (!drvdata) 555 return -ENOMEM; 556 557 /* Populate data structure depending on compatibility */
558 if (!of_match_node(sti_sas_dev_match, pnode)->data) {
559 dev_err(&pdev->dev, "data associated to device is missing"); 560 return -EINVAL; 561 }
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation