Tag: f72401e94d159bc4b2beab51d74e956da2c32e0a

watchdog: s3c2410_wdt.c: Convert release_resource to release_region/release_mem_region

Author: Julia Lawall <julia@diku.dk> 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/) // @@ expression x,E; @@ *x = request_mem_region(…) … when != release_mem_region(x) when != x = E * release_resource(x); // Signed-off-by: Julia Lawall Signed-off-by: Wim Van Sebroeck Cc: stable — drivers/watchdog/s3c2410_wdt.c | …

Continue reading