aboutsummaryrefslogtreecommitdiff
path: root/sound/atmel/ac97c.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-08-19 09:02:58 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-20 10:53:13 +0200
commitaaf265c22e48f10c94ad04d23b6ab0c88f554d35 (patch)
treed025c650cf3777aa1ba6e02289e2e140742950fe /sound/atmel/ac97c.c
parent8513915accc611e576dbebb93422c257e7e68be8 (diff)
ALSA: sound/atmel/abdac.c: fix error return code
Initialize retval before returning from a failed call to ioremap. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } | ret@p1 = 0 ) ... when != ret = e1 when != &ret *if(...) { ... when != ret = e2 when forall return ret; } // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/atmel/ac97c.c')
0 files changed, 0 insertions, 0 deletions