Skip to content

release_mem_region with error parameter #3

@GoogleCodeExporter

Description

@GoogleCodeExporter
In the function short_cleanup in the file short.c, I think it is an issue when 
release the memory region: release_mem_region(short_base, SHORT_NR_PORTS). 
Because the value short_base was updated in function short_init: short_base = 
(unsigned long) ioremap(short_base, SHORT_NR_PORTS); So it should use base as 
the input parameter: release_mem_region(base, SHORT_NR_PORTS)

Original issue reported on code.google.com by zouwa...@gmail.com on 1 Mar 2012 at 10:12

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions