kernel-ark/sound/soc
Julia Lawall 4f066173fe ASoC: Move dereference after NULL test
If the NULL test on jack is needed, then the derefernce should be after the
NULL test.

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

// <smpl>
@match exists@
expression x, E;
identifier fld;
@@

* x->fld
  ... when != \(x = E\|&x\)
* x == NULL
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-10-19 16:12:35 +01:00
..
atmel ASoC: at91sam9g20ek_2mmc board uses same audio connexion as at91sam9g20ek 2009-10-09 12:41:55 +01:00
au1x ASoC: au1x: psc-ac97: reorganize timeouts 2009-10-19 16:12:31 +01:00
blackfin Merge branch 'for-2.6.32' into for-2.6.33 2009-10-01 11:35:11 +01:00
codecs ASoC: TWL4030: Only update the needed bits in *set_dai_sysclk 2009-10-19 16:12:17 +01:00
davinci Merge branch 'for-2.6.32' into for-2.6.33 2009-10-06 16:01:27 +01:00
fsl Merge branch 'fix/asoc' into for-linus 2009-09-17 21:08:53 +02:00
imx Merge branch 'for-2.6.32' into for-2.6.33 2009-10-08 10:45:09 +01:00
omap ASoC: OMAP: Add functionality to set CLKR and FSR sources in McBSP DAI 2009-08-28 18:36:43 +01:00
pxa ASoC: finally enable support for eXeda and CM-X300 2009-10-15 15:01:47 +01:00
s3c24xx ASoC: S3C: Remove <plat/audio.h> 2009-10-13 13:33:53 +01:00
s6000 ASoC: tlv320aic3x: fixup board device changes 2009-08-21 10:52:57 +01:00
sh ASoC: Add FSI-AK4642 sound support for SuperH 2009-08-21 11:02:03 +01:00
txx9 ASoC: txx9aclc: dynamically allocate dmaengine devname 2009-06-25 21:06:30 +01:00
Kconfig ASoC: Hook i.MX into build 2009-08-15 11:37:30 +01:00
Makefile Merge branch 'for-2.6.32' into mxc 2009-08-15 11:20:44 +01:00
soc-cache.c ASoC: Convert soc-cache to use C99 style initialisers for the table 2009-09-21 04:21:47 -07:00
soc-core.c ASoC: Remove snd_soc_suspend_device() 2009-10-15 15:01:43 +01:00
soc-dapm.c Merge branch 'for-2.6.32' into for-2.6.33 2009-10-15 15:02:14 +01:00
soc-jack.c ASoC: Move dereference after NULL test 2009-10-19 16:12:35 +01:00