Hi Liam,

FYI, there are coccinelle warnings in

tree:   git://gitorious.org/omap-audio/linux-audio 
peter/topic/ti-audio-next-bnw-wip
head:   b21a772eb9594ad1d50a54efdbdcbe6be79d4e4a
commit: 7c6163f44cd6b375b3077ab566cf0e461474640b [18/31] ASoC: firmware: Add 
support for dynamic components

>> sound/soc/soc-fw.c:945:9-16: ERROR: se is NULL but dereferenced.
--
>> sound/soc/soc-fw.c:1425:8-9: ERROR: reference preceded by free on line 1425
>> sound/soc/soc-fw.c:1465:8-9: ERROR: reference preceded by free on line 1465
   
--
>> sound/soc/soc-fw.c:1510:6-8: ERROR: invalid reference to the index variable 
>> of the iterator on line 1495
>> sound/soc/soc-fw.c:1430:6-8: ERROR: invalid reference to the index variable 
>> of the iterator on line 1415
>> sound/soc/soc-fw.c:1470:6-8: ERROR: invalid reference to the index variable 
>> of the iterator on line 1455

git remote add omap-audio git://gitorious.org/omap-audio/linux-audio
git remote update omap-audio
git checkout 7c6163f44cd6b375b3077ab566cf0e461474640b
vim +945 sound/soc/soc-fw.c

7c6163f4 Liam Girdwood 2012-12-05  929                          goto err_se;
7c6163f4 Liam Girdwood 2012-12-05  930                  }
7c6163f4 Liam Girdwood 2012-12-05  931  
7c6163f4 Liam Girdwood 2012-12-05  932                  err = 
soc_fw_init_kcontrol(sfw, kc);
7c6163f4 Liam Girdwood 2012-12-05  933                  if (err < 0) {
7c6163f4 Liam Girdwood 2012-12-05  934                          
dev_err(sfw->dev, "ASoC: failed to init %s\n",
7c6163f4 Liam Girdwood 2012-12-05  935                                  
ec->hdr.name);
7c6163f4 Liam Girdwood 2012-12-05  936                          goto err_se;
7c6163f4 Liam Girdwood 2012-12-05  937                  }
7c6163f4 Liam Girdwood 2012-12-05  938          }
7c6163f4 Liam Girdwood 2012-12-05  939          return kc;
7c6163f4 Liam Girdwood 2012-12-05  940  
7c6163f4 Liam Girdwood 2012-12-05  941  err_se:
7c6163f4 Liam Girdwood 2012-12-05  942          kfree(kc);
7c6163f4 Liam Girdwood 2012-12-05  943  
7c6163f4 Liam Girdwood 2012-12-05  944          /* free values and texts */
7c6163f4 Liam Girdwood 2012-12-05 @945          if (se->dvalues)
7c6163f4 Liam Girdwood 2012-12-05  946                  kfree(se->dvalues);
7c6163f4 Liam Girdwood 2012-12-05  947          for (i = 0; i < ec->max; i++)
7c6163f4 Liam Girdwood 2012-12-05  948                  kfree(se->dtexts[i]);
7c6163f4 Liam Girdwood 2012-12-05  949  
7c6163f4 Liam Girdwood 2012-12-05  950          kfree(se);
7c6163f4 Liam Girdwood 2012-12-05  951  
7c6163f4 Liam Girdwood 2012-12-05  952          return NULL;
7c6163f4 Liam Girdwood 2012-12-05  953  }

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild
_______________________________________________
kbuild mailing list
kbuild@lists.01.org
https://lists.01.org/mailman/listinfo/kbuild

Reply via email to