aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-11-22 11:54:15 -0600
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-11-22 11:54:15 -0600
commite138a5d2356729b8752e88520cc1525fae9794ac (patch)
tree942e3418e424170ef0e3c83ede3d54592b8e8b7f
parent7b4feee973ca7be63345b92a987ef7ef879b179b (diff)
downloadlinux-linaro-stable-e138a5d2356729b8752e88520cc1525fae9794ac.tar.gz
[SCSI] aic94xx: fix pointer to integer conversion warning
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/aic94xx/aic94xx_scb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic94xx/aic94xx_scb.c b/drivers/scsi/aic94xx/aic94xx_scb.c
index a014418d670e..52c6ea4fbf71 100644
--- a/drivers/scsi/aic94xx/aic94xx_scb.c
+++ b/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);