diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-05-02 11:10:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-06 16:22:11 (GMT) |
commit | c81400be716aa4c76f6ebf339ba94358dbbf6da6 (patch) | |
tree | 36cafe2ad9c4a79ce7f43cde3d3c8253e59f15b3 /drivers/sbus | |
parent | a3dbbc2bab8d9a6e55fc0af3906d1dddbc0c531e (diff) | |
download | linux-fsl-qoriq-c81400be716aa4c76f6ebf339ba94358dbbf6da6.tar.xz |
3c59x: fix freeing nonexistent resource on driver unload
When unloading the driver that drives an EISA board, a message similar to the
following one is displayed:
Trying to free nonexistent resource <0000000000013000-000000000001301f>
Then an user is unable to reload the driver because the resource it requested in
the previous load hasn't been freed. This happens most probably due to a typo in
vortex_eisa_remove() which calls release_region() with 'dev->base_addr' instead
of 'edev->base_addr'...
Reported-by: Matthew Whitehead <tedheadster@gmail.com>
Tested-by: Matthew Whitehead <tedheadster@gmail.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions