Skip to contentSkip to conversation

2.6.8.1 aacraid/commctrl.c warning, gcc 3.4, x86_64

DISCUSSION Pete Harlan 1 participant 1 message Aug 25, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

Compiling kernel 2.6.8.1 with gcc-3.4.1 (Debian 3.4.1-5) on x86_64, gives the following warning:

CC drivers/scsi/aacraid/commctrl.o
drivers/scsi/aacraid/commctrl.c: In function `aac_send_raw_srb':
drivers/scsi/aacraid/commctrl.c:562: warning: cast to pointer from integer of different size

The line in question is:

			sg_user[i] = (void __user *)(psg->sg[i].addr);

The driver appears to work.

I apologize if this is already known; I'm not on this list (the email address is in the MAINTAINERS file.)

HTH,

--Pete