瀏覽代碼

[SCSI] aic94xx: fix pointer to integer conversion warning

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley 18 年之前
父節點
當前提交
e138a5d235
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);