summaryrefslogtreecommitdiffstats
path: root/CREDITS
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2010-12-29 05:01:03 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-31 21:52:05 +0100
commitb9556f9a1abdc56a179ac7ba6053469373b6de0f (patch)
tree8302a502a8428884a0163b526b057fb92831ff35 /CREDITS
parentstarfire: Fix dma_addr_t size test for MIPS (diff)
downloadlinux-b9556f9a1abdc56a179ac7ba6053469373b6de0f.tar.xz
linux-b9556f9a1abdc56a179ac7ba6053469373b6de0f.zip
drivers/atm/atmtcp.c: add missing atm_dev_put
The earlier call to atm_dev_lookup increases the reference count of dev, so decrease it on the way out. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x, E; constant C; @@ x = atm_dev_lookup(...); ... when != false x != NULL when != true x == NULL when != \(E = x\|x = E\) when != atm_dev_put(dev); *return -C; // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions