aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aacraid.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r--drivers/scsi/aacraid/aacraid.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index 400d03403cd5..94727b9375ec 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -12,7 +12,7 @@
12 *----------------------------------------------------------------------------*/ 12 *----------------------------------------------------------------------------*/
13 13
14#ifndef AAC_DRIVER_BUILD 14#ifndef AAC_DRIVER_BUILD
15# define AAC_DRIVER_BUILD 2447 15# define AAC_DRIVER_BUILD 2449
16# define AAC_DRIVER_BRANCH "-ms" 16# define AAC_DRIVER_BRANCH "-ms"
17#endif 17#endif
18#define MAXIMUM_NUM_CONTAINERS 32 18#define MAXIMUM_NUM_CONTAINERS 32
@@ -1807,10 +1807,10 @@ struct aac_aifcmd {
1807 * accounting for the fact capacity could be a 64 bit value 1807 * accounting for the fact capacity could be a 64 bit value
1808 * 1808 *
1809 */ 1809 */
1810static inline u32 cap_to_cyls(sector_t capacity, u32 divisor) 1810static inline unsigned int cap_to_cyls(sector_t capacity, unsigned divisor)
1811{ 1811{
1812 sector_div(capacity, divisor); 1812 sector_div(capacity, divisor);
1813 return (u32)capacity; 1813 return capacity;
1814} 1814}
1815 1815
1816/* SCp.phase values */ 1816/* SCp.phase values */