scsi: use 64-bit LUNs
[deliverable/linux.git] / drivers / scsi / aic7xxx / aic79xx.h
index 113874c1284b167d302f10262a75bb620e73cf82..df2e0e5367d2f7b292c3b522372206255acae196 100644 (file)
@@ -115,7 +115,7 @@ struct scb_platform_data;
 #endif
 
 #define AHD_BUILD_COL_IDX(target, lun)                         \
-       (((lun) << 4) | target)
+       ((((u8)lun) << 4) | target)
 
 #define AHD_GET_SCB_COL_IDX(ahd, scb)                          \
        ((SCB_GET_LUN(scb) << 4) | SCB_GET_TARGET(ahd, scb))
This page took 0.024689 seconds and 5 git commands to generate.