[SCSI] aic94xx: fix pointer to integer conversion warning
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 22 Nov 2006 17:54:15 +0000 (11:54 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 22 Nov 2006 17:54:15 +0000 (11:54 -0600)
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic94xx/aic94xx_scb.c

index a014418d670e661731ca552d8b425ceca9fab48d..52c6ea4fbf714d350250dcaafed00a53e701cbc4 100644 (file)
@@ -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);