aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_opti.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-05-26 16:25:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-26 17:12:33 -0700
commitc258f9a0aab09366070f3c9283070edead23d4cf (patch)
treec56ccd5534ab88e8e4cfc6c798a50ec20b5f32ea /drivers/ata/pata_opti.c
parent74d34d4be60928c3504fdad9d67707a6e3244a80 (diff)
downloadkernel_samsung_smdk4412-c258f9a0aab09366070f3c9283070edead23d4cf.zip
kernel_samsung_smdk4412-c258f9a0aab09366070f3c9283070edead23d4cf.tar.gz
kernel_samsung_smdk4412-c258f9a0aab09366070f3c9283070edead23d4cf.tar.bz2
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> [akpm@linux-foundation.org: use resource_size()] Signed-off-by: Julia Lawall <julia@diku.dk> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata/pata_opti.c')
0 files changed, 0 insertions, 0 deletions