diff options
| author | H Hartley Sweeten <[email protected]> | 2009-12-21 16:27:49 -0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2009-12-22 09:12:48 +0100 |
| commit | e019ef0c4f11a0acb79b89fb1e09c72197b42bbe (patch) | |
| tree | b46e380ed4de082ddf2843bf72b9186cef24bb3a /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
| parent | df9dc83d193959f990c981787279e8541fe9df8c (diff) | |
drivers/block/mg_disk.c: use resource_size()
Use resource_size() for ioremap.
The ioremap appears to be passing the incorrect size for the platform
resource. Unfortunately, I can't locate a user in mainline to verify
this. Using resource_size should be the correct fix.
Signed-off-by: H Hartley Sweeten <[email protected]>
Acked-by: unsik Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions