Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release_mem_region with error parameter #3

Open
GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments
Open

release_mem_region with error parameter #3

GoogleCodeExporter opened this issue Jul 3, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant