Browse Source

[SCSI] aic94xx: fix pointer to integer conversion warning

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley 18 năm trước cách đây
mục cha
commit
e138a5d235
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/scsi/aic94xx/aic94xx_scb.c

+ 1 - 1
drivers/scsi/aic94xx/aic94xx_scb.c

@@ -446,7 +446,7 @@ static void escb_tasklet_complete(struct asd_ascb *ascb,
 				continue;
 			dev = task->dev;
 
-			x = (u16)dev->lldd_dev;
+			x = (unsigned long)dev->lldd_dev;
 			if (x == conn_handle) {
 				dev_phy = dev->port->phy;
 				task_kill_later(a);