On Tue, Jun 19, 2007 at 10:25:30AM +0200, Swen Schillig wrote:
> +     unit->scsi_lun = scsilun_to_int((struct scsi_lun *)&unit->fcp_lun);
> +     

fcp_lun is an unsigned long long (and should be a __be64), so casting
this to a struct type is not very nice.  Care to add a version that takes
a __be64 intead?  In fact using that variant in scsi_scan.c might be
benefical aswell, so you could aswell just convert over the existing
scsilun_to_int.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to