aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/configfs/configfs_example_macros.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2011-05-26 23:25:08 +0000
committerLinus Torvalds <[email protected]>2011-05-27 00:12:33 +0000
commitc258f9a0aab09366070f3c9283070edead23d4cf (patch)
treec56ccd5534ab88e8e4cfc6c798a50ec20b5f32ea /Documentation/filesystems/configfs/configfs_example_macros.c
parentrtc: add basic support for ST M41T93 SPI RTC (diff)
downloadkernel-c258f9a0aab09366070f3c9283070edead23d4cf.tar.gz
kernel-c258f9a0aab09366070f3c9283070edead23d4cf.zip
drivers/rtc/rtc-mrst.c: use release_mem_region after request_mem_region
The memory allocated using request_mem_region should be released using release_mem_region, not release_region. The semantic patch that fixes part of this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression E1,E2,E3; @@ request_mem_region(E1,E2,E3) ... ?- release_region(E1,E2) + release_mem_region(E1,E2) // </smpl> [[email protected]: use resource_size()] Signed-off-by: Julia Lawall <[email protected]> Cc: Alessandro Zummo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'Documentation/filesystems/configfs/configfs_example_macros.c')
0 files changed, 0 insertions, 0 deletions