summaryrefslogtreecommitdiff
path: root/lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lookup.c')
0 files changed, 0 insertions, 0 deletions
t.git/tree/?h=nds-private-remove&id=3502fbcc25eb67db96fea35abe721c82aa1f4ff3'>b2e83f7a028bf70f05b4c2c9756a4aff562570d1 /Documentation parent5fed67df878b598c3a4afdd4c09e9bea491651dd (diff)
mtd: maps: add missing iounmap() in error path
This patch was triggered by the following Coccinelle error: ./drivers/mtd/maps/sc520cdp.c:246:3-9: \ ERROR: missing iounmap; ioremap on line 242 \ and execution via conditional on line 244 Since do_map_probe() is also invoked in this loop, it is also necessary to map_destroy() any initialised struct mtd_info. Signed-off-by: Luis Henriques <henrix@camandro.org> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Documentation')