Re: [PATCH 06/12] qla2xxx: Fix endian issues on PPC platfrom for NPIV.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-07-31 at 15:09 -0700, giridhar.malavali@xxxxxxxxxx wrote:
> From: Andrew Vasquez <andrew.vasquez@xxxxxxxxxx>
> 
> VP IDX need to be converted to proper endian for NPIV
> to work on PPC platforms.

This description doesn't seem quite right; it implies there's an NPIV
failure on PPC.  whereas the patch

>  		DEBUG15(printk("%s:format 0 : scsi(%ld) number of VPs setup %d,"
>  			" number of VPs acquired %d\n", __func__, vha->host_no,
> -			MSB(rptid_entry->vp_count), LSB(rptid_entry->vp_count)));
> +			MSB(le16_to_cpu(rptid_entry->vp_count)),
> +			LSB(le16_to_cpu(rptid_entry->vp_count))));

Is altering the way a debug print works, which isn't fixing anything.  I
assume NPIV works fine on PPC but prints the wrong debug values?

James


--
To unsubscribe from this list: 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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux