Received from Mark Salyzyn. This patch resolves a compiler warning on 64 bit architectures. Applies to the scsi-rc-fixes-2.6 git tree. Signed-off-by: Mark Haverkamp <markh@xxxxxxxx> --- Index: scsi-rc-aac-1/drivers/scsi/aacraid/commctrl.c =================================================================== --- scsi-rc-aac-1.orig/drivers/scsi/aacraid/commctrl.c 2005-10-19 13:04:06.000000000 -0700 +++ scsi-rc-aac-1/drivers/scsi/aacraid/commctrl.c 2005-10-19 13:04:13.000000000 -0700 @@ -574,7 +574,7 @@ rcode = -ENOMEM; goto cleanup; } - sg_user[i] = (void __user *)usg->sg[i].addr; + sg_user[i] = (void __user *)(long)usg->sg[i].addr; sg_list[i] = p; // save so we can clean up later sg_indx = i; @@ -624,7 +624,7 @@ rcode = -ENOMEM; goto cleanup; } - sg_user[i] = (void __user *)upsg->sg[i].addr; + sg_user[i] = (void __user *)(long)upsg->sg[i].addr; sg_list[i] = p; // save so we can clean up later sg_indx = i; -- Mark Haverkamp <markh@xxxxxxxx> - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html