RE: [PATCH 2/5] bfa: Brocade BFA FC SCSI driver submission

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

 




> -----Original Message-----
> From: Christoph Hellwig [mailto:hch@xxxxxxxxxxxxx]
> Sent: Tuesday, January 27, 2009 2:16 PM
> To: Jing Huang
> Cc: James.Bottomley@xxxxxxxxxxxxxxxxxxxxx; Krishna Gudipati; linux-
> kernel@xxxxxxxxxxxxxxx; linux-scsi@xxxxxxxxxxxxxxx; Ramkumar Vadivelu;
> Vinodh Ravindran
> Subject: Re: [PATCH 2/5] bfa: Brocade BFA FC SCSI driver submission
> 
> On Tue, Jan 27, 2009 at 10:54:07AM -0800, Jing Huang wrote:
> > +/**
> > + * Generic HAL callback element.
> > + */
> > +struct bfa_cb_qe_s {
> > +	struct bfa_q_s         qe;
> > +	bfa_cb_cbfn_t  cbfn;
> > +	bfa_boolean_t   once;
> > +	u32		rsvd;
> > +	void           *cbarg;
> > +};
> > +
> > +#define bfa_cb_queue(__bfa, __hcb_qe, __cbfn, __cbarg) do {
\
> > +	(__hcb_qe)->cbfn  = (__cbfn);
\
> > +	(__hcb_qe)->cbarg = (__cbarg);
\
> > +	bfa_q_enq(&(__bfa)->comp_q, (__hcb_qe));
\
> > +} while (0)
> 
> Please stop here, weird HALs and own list management routines are not
> things we put into the tree.  (except for gregs junk subdirectory..)
> 
> Please rewrite this into a proper Linux driver.


Thanks Christoph for the code review,

I will clean up all the HAL references and also replace our own list
management code with standard linux implementation.

Jing
--
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