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