Bug in file short.c
Closed this issue · 2 comments
function called with argument short_base:
release_mem_region(short_base, SHORT_NR_PORTS)
but value not exist after call to iounmap()
it should use base variable in place of it:
release_mem_region(base, SHORT_NR_PORTS)
If you will call following command you will get crash
cat /proc/iomem
Hi dovnmr,
Thanks a lot for pointing this out.
I updated the LDD3 examples to be used for students a few years I ago but I haven't had time to work on this for the last couple of years.
So, I'll try to do my best to fix this someday but I'm not planing to do it in the near future at least.
Patches and pull requests are welcomed though ;-)
Best regards
This should be addressed with #53 with thanks to @jypan-ccu - please re-open if the problem still exists.