diff options
author | nickcheng <nick.cheng@areca.com.tw> | 2008-03-04 12:49:59 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-03-14 23:25:26 +0300 |
commit | 4d3995b14ba7abcdd475d17b8751db55d8a95b9e (patch) | |
tree | e71ad2a279638589f9dbe4f2dfc8e006c281513a /drivers/scsi/gdth.c | |
parent | e92e63aabacf049fd64477e5e29eae0375d8d064 (diff) | |
download | linux-4d3995b14ba7abcdd475d17b8751db55d8a95b9e.tar.xz |
[SCSI] arcmsr: fix iounmap error for Type B adapter
The Type B Adapter teardown does iounmap on pointers subtracted by a
constant offset. Since the offset is in bytes, we need the pointers to
be of type void * not uint32_t * so the subtraction is done in the
correct units and we iounmap the correct area.
Signed-off-by: Nick Cheng <nick.cheng@areca.com.tw>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/gdth.c')
0 files changed, 0 insertions, 0 deletions