alistair23-linux/sound/soc
Julia Lawall 5006b31328 sound/soc/ep93xx/ep93xx-i2s.c: add missing kfree
Introduce a new label that includes kfree and jump to that one.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier x;
expression E1!=0,E2,E3,E4;
statement S;
iterator I;
@@

(
if (...) { ... when != kfree(x)
               when != x = E3
               when != E3 = x
*  return ...;
 }
... when != x = E2
    when != I(...,x,...) S
if (...) { ... when != x = E4
 kfree(x); ... return ...; }
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Alexander Sverdlin <subaparts@yandex.ru>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-08-22 23:28:42 +01:00
..
atmel sound/atmel_ssc_dai: add a missing space to an error message 2011-06-10 10:55:20 +01:00
au1x ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
blackfin ASoC: ad193x: fix system clock 2011-08-15 22:38:05 +09:00
codecs ASoC: Clear completions from late WM8996 FLL lock IRQs 2011-08-22 13:57:35 +01:00
davinci ASoC: davinci: add missing break statement 2011-07-20 20:51:35 +01:00
ep93xx sound/soc/ep93xx/ep93xx-i2s.c: add missing kfree 2011-08-22 23:28:42 +01:00
fsl sound/soc/fsl/fsl_dma.c: add missing of_node_put 2011-08-22 23:26:33 +01:00
imx Merge branch 'next/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-25 11:53:35 -07:00
jz4740 ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
kirkwood sound/soc/kirkwood/kirkwood-i2s.c: add missing kfree 2011-08-22 23:26:56 +01:00
mid-x86 ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
nuc900 ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
omap ASoC: omap: Fix build errors in ams-delta 2011-08-19 01:19:45 +09:00
pxa ASoC: pxa2xx-pcm: remove unused variable 'dai' 2011-07-07 09:54:09 -07:00
s6000 ASoC: core - Optimise and refactor pcm_new() to pass only rtd 2011-06-07 18:38:27 +01:00
samsung ASoC: Ensure we only run Speyside WM8962 bias level callbacks once 2011-08-22 12:40:31 +01:00
sh Merge branch 'for-3.0' into for-3.1 2011-07-09 19:06:33 +09:00
tegra ASoC: Tegra: wm8903 machine driver: Allow re-insertion of module 2011-08-09 09:42:11 +09:00
txx9 ASoC: Fix txx9aclc.c build 2011-07-29 07:53:08 +02:00
Kconfig
Makefile ASoC: Move register I/O code into a separate file 2011-06-13 18:56:10 +01:00
soc-cache.c ASoC: Remove unused and about to be broken SND_SOC_CUSTOM I/O bus 2011-06-13 19:17:55 +01:00
soc-core.c ASoC: soc-core: use GFP_KERNEL flag for kmalloc in snd_soc_cnew 2011-08-22 23:26:46 +01:00
soc-dapm.c ASoC: dapm - Add methods to retrieve snd_card and soc_card from dapm context. 2011-07-20 21:15:51 +01:00
soc-io.c ASoC: Add spi hw read function for 16 addr 8 data mode for ad193x fix 2011-08-15 22:38:14 +09:00
soc-jack.c ASoC: soc-jack: Fix checking return value of request_any_context_irq 2011-08-15 22:28:46 +09:00
soc-pcm.c ASoC: Fix check for symmetric rate enforcement 2011-08-17 16:22:09 +09:00
soc-utils.c ASoC: Work around allmodconfig failure 2011-04-28 12:09:06 +01:00