Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214812

Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable check

From Ewan Milne <emilne@redhat.com>
Newsgroups linux.kernel
Subject Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable check
Date 2015-08-27 22:00 +0200
Message-ID <q2bv5-5V4-11@gated-at.bofh.it> (permalink)
References <pRdAe-2FU-17@gated-at.bofh.it> <pRdAg-2FU-73@gated-at.bofh.it> <q1sxX-870-3@gated-at.bofh.it> <q1tDI-1uW-35@gated-at.bofh.it> <q1Ssp-3Ko-11@gated-at.bofh.it>
Organization Red Hat

Show all headers | View raw


On Wed, 2015-08-26 at 16:38 -0700, James Bottomley wrote:
> On Tue, 2015-08-25 at 21:03 +0000, Winkler, Tomas wrote:
> > 
> > > > +	/* this should never happen */
> > > > +	if (WARN_ON(!cmnd))
> > > > +		return SCSI_MLQUEUE_HOST_BUSY;
> > > >
> > > > -	if (NULL == cmnd || NULL == devip) {
> > > > -		pr_warn("called with NULL cmnd or devip pointer\n");
> > > > +	if (NULL == devip) {
> > > > +		pr_warn("called devip == NULL\n");
> > > >  		/* no particularly good error to report back */
> > > >  		return SCSI_MLQUEUE_HOST_BUSY;
> > > >  	}
> > > 
> > > Please refer to the patch I just posted, we can't return _HOST_BUSY here
> > > if devip == NULL.  I posted a fix against the current "misc" branch as
> > > I don't see this patch applied, let me know if I need to update it.
> > 
> > 
> > I'm just not sure why the patches are not merged or even rejected.
> 
> Because ideally I want a Maintainer ack.  That's Doug Gilbert.
> 
> > I'm submitting patches to the Linux kernel for more than 10 years to
> > various trees and  I can agree that these are not some  urgent fixes,
> > but  this is the first time my effort is ignored for such long time by
> > the maintainer. 
> 
> Well, OK, I trust martin, I'll override the lack of Maintainer ack if
> you fix as Ewan suggests.
> 

Just to clarify, I didn't have a problem with Tomas' patch per se, it's
just that my patch won't apply on top of his.  I'll submit a v2 if you
want, so you can apply Tomas' patch first.  The problem I'm fixing has
been in there for a while.  Let me know if you want me to do that.

-Ewan

> James
> 
> 
> > Thanks
> > Tomas
> > 
> > NrybXǧv^)޺{.n+{"{ayʇڙ,jfhzwj:+vwjmzZ+ݢj"!
> 
> 
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable  check Ewan Milne <emilne@redhat.com> - 2015-08-25 22:00 +0200
  RE: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable  check "Winkler, Tomas" <tomas.winkler@intel.com> - 2015-08-25 23:10 +0200
    Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable  check James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-08-27 01:40 +0200
      Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable  check Ewan Milne <emilne@redhat.com> - 2015-08-27 22:00 +0200
        RE: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable  check "Winkler, Tomas" <tomas.winkler@intel.com> - 2015-08-30 12:40 +0200
          Re: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable  check James Bottomley <James.Bottomley@HansenPartnership.com> - 2015-08-30 19:00 +0200
            RE: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable  check "Winkler, Tomas" <tomas.winkler@intel.com> - 2015-08-31 10:10 +0200

csiph-web