RE: [PATCH 03/23] bfa: PBC vport create

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

 



On Tue, 2010-06-29 at 12:34 -0700, Jing Huang wrote:
> >>This one's giving a single rejection:
> >>
> >>patching file drivers/scsi/bfa/bfad_drv.h
> >>Hunk #2 FAILED at 197.
> >>1 out of 2 hunks FAILED -- saving rejects to file
> >>drivers/scsi/bfa/bfad_drv.h.rej
> >>
> >>But it looks to be serious:  then hunk is:
> >>
> >>+++ drivers/scsi/bfa/bfad_drv.h
> >>@@ -197,12 +199,18 @@
> >> 	bfa_boolean_t	ipfc_enabled;
> >> 	union bfad_tmp_buf tmp_buf;
> >> 	struct fc_host_statistics link_stats;
> >>+	struct list_head pbc_pcfg_list;
> >> 	u32 fwtrc_len;
> >> 	char *fwtrc;
> >> 	u32 reglen;
> >> 	char *regdata;
> >> };
> >>
> >>But the defined structure in the file is:
> >>
> >>	bfa_boolean_t	ipfc_enabled;
> >>	union bfad_tmp_buf tmp_buf;
> >>	struct fc_host_statistics link_stats;
> >>};
> >>
> >>So there's quite a bit missing somewhere.
> >>
> >>James
> >>
> >
> >Hi James,
> >
> >This patch set depends on the patch sent out earlier by Krishna Guidapt to collect
> >debug info
> >using sysfs binary attributes, here is the link to the patch:
> >
> >http://marc.info/?l=linux-scsi&m=127604326602491&w=2
> >
> >It enables the basics debuggability the current upstream driver lacks as a result of
> >IOCTL
> >removal, so that when there is some issue happen in the firmware/hardware, when
> >can
> >use them to dump out firmware trace and read/write to the chip registers.
> >
> >If you need more time to review or have any concern on that particular patch,
> >please let me know,
> >I can recreate the 2.2.2.1 patch set without that change so that they can be applied
> >cleanly to the
> >current scsi-misc tree.
> >
> >Thanks
> >
> >Jing
> >
> >
> 
> Hi James,
> 
> Any comments on my response above? Do you want me to remove the dependency on
> Krishna's patch and resubmit?

Yes, I dug it out and looked at it ... it really seems that what you're
trying to do in this patch:

bfa: Add sysfs support to obtain debug info

is add something to sysfs that would be better exported with debugfs.

So I'll leave it up to you ... if the debug info patch can be redone
with debugfs and this still applies, I'll take it ... otherwise, just a
redo not to be based on that patch might be better.

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