public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v2] SCSI: detect missing data for INQUIRY
@ 2008-12-03 17:44 Alan Stern
  2008-12-03 18:00 ` James Bottomley
  0 siblings, 1 reply; 7+ messages in thread
From: Alan Stern @ 2008-12-03 17:44 UTC (permalink / raw)
  To: James Bottomley; +Cc: SCSI development list

James:

There hasn't been any feedback on this patch:

	http://marc.info/?l=linux-scsi&m=122513368301598&w=2

It was modified in the way you requested.  Does it need to be revised 
any more?

Alan Stern


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [PATCH] SCSI: detect missing data for INQUIRY
@ 2008-10-27 17:29 James Bottomley
  2008-10-27 18:53 ` [PATCH v2] " Alan Stern
  0 siblings, 1 reply; 7+ messages in thread
From: James Bottomley @ 2008-10-27 17:29 UTC (permalink / raw)
  To: Alan Stern; +Cc: Örjan Nordlund, SCSI development list

On Mon, 2008-10-27 at 13:27 -0400, Alan Stern wrote:
> On Mon, 27 Oct 2008, James Bottomley wrote:
> 
> > > > About the best we can do is check the first four fields.  For them to be
> > > > all zero, it would have to be a minimal response SCSI-1 device (RDF of
> > > > zero) ... hopefully they're all dead by now.
> > > 
> > > Then you're saying that the patch should everything up to
> > > inq_result[8]?  Or maybe even beyond?  I can do that.  Would that be 
> > > acceptable?
> > 
> > No ... "first four fields" means everything up to inq_result[3].
> > Anything beyond that would be legitimately zero if they were.
> 
> But what about the case where the first four bytes are zero and some of 
> the fields beyond them are nonzero.  Isn't that possible?

Not if the device conforms to the standard.

James



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-12-03 18:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-03 17:44 [PATCH v2] SCSI: detect missing data for INQUIRY Alan Stern
2008-12-03 18:00 ` James Bottomley
2008-12-03 18:18   ` Alan Stern
2008-12-03 18:46     ` Boaz Harrosh
  -- strict thread matches above, loose matches on Subject: below --
2008-10-27 17:29 [PATCH] " James Bottomley
2008-10-27 18:53 ` [PATCH v2] " Alan Stern
2008-10-28 13:02   ` James Smart
2008-10-28 13:43     ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox