Re: [PATCH 1/3] Generalize WWN to u64 interger conversions.

2005-09-05 Thread Christoph Hellwig
On Wed, Aug 31, 2005 at 03:18:35PM -0700, Andrew Vasquez wrote: > Ok, how about this generic patchset: > > 1) add helper function to transport class > 2) add support to qla2xxx > 3) add support to lpfc -- I'll let James S. decide on >whether the union {} changes to lpfc_name are acceptable lo

[PATCH 1/3] Generalize WWN to u64 interger conversions.

2005-08-31 Thread Andrew Vasquez
> > --- a/drivers/scsi/qla2xxx/qla_attr.c > > +++ b/drivers/scsi/qla2xxx/qla_attr.c > > @@ -345,6 +345,15 @@ struct class_device_attribute *qla2x00_h > > > > /* Host attributes. */ > > > > +static u64 > > +wwn_to_u64(uint8_t *wwn) > > +{ > > + return (u64)wwn[0] << 56 | (u64)wwn[1] << 48 | >