summaryrefslogtreecommitdiffstats
path: root/drivers/video/bw2.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-04-22 22:11:21 +0200
committerPaul Mundt <lethal@linux-sh.org>2011-05-24 09:08:54 +0200
commit683e7cdc207f71eef3ff46f5d36ec505c65fbbc6 (patch)
treeab1c2ebbb3c3b5faae511a84685e3ad6b5654e9a /drivers/video/bw2.c
parentvideo, udlfb: Fix two build warnings about 'ignoring return value' (diff)
downloadlinux-683e7cdc207f71eef3ff46f5d36ec505c65fbbc6.tar.xz
linux-683e7cdc207f71eef3ff46f5d36ec505c65fbbc6.zip
drivers/video: Convert release_resource to release_mem_region
Request_mem_region should be used with release_mem_region, not release_resource. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @s exists@ expression e1,e2,e3,e4,e; @@ *e4 = request_mem_region(e1,e2,e3) ... when != e4 = e *release_resource(e4); // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/bw2.c')
0 files changed, 0 insertions, 0 deletions