All of lore.kernel.org
 help / color / mirror / Atom feed
* [virtio] [PATCH] block: drop duplicate text
@ 2019-03-18 22:54 Michael S. Tsirkin
  2019-03-26 10:25 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2019-03-18 22:54 UTC (permalink / raw)
  To: virtio, virtio-dev; +Cc: Gil Savir

In version 1.1 draft 01 - Section 5.2.6.4 - second bullet:

Duplicated text "errors, data_len, sense_len and residual MUST reside in
a single, separate device-writable descriptor" appears +both in the
beginning and at the end of the 2nd sentence.

The original text:

For SCSI commands there are additional constraints. errors, data_len,
sense_len and residual MUST reside in a single, separate device-writable
descriptor, sense MUST reside in a single separate device-writable
descriptor of size 96 bytes, and errors, data_len, sense_len and
residual MUST reside a single separate device-writable descriptor.
I suggest to delete the 1st one, so in the end result, fields are
described in same order as appear in struct virtio_scsi_pc_req.

Fixes: https://github.com/oasis-tcs/virtio-spec/issues/39
Reported-by: Gil Savir <gil.savir@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 content.tex | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/content.tex b/content.tex
index 05fcb7b..e8536a0 100644
--- a/content.tex
+++ b/content.tex
@@ -4236,9 +4236,7 @@ negotiated VIRTIO_F_ANY_LAYOUT:
   for \field{status}.
 
 \item For SCSI commands there are additional constraints.
-  \field{errors}, \field{data_len}, \field{sense_len} and
-  \field{residual} MUST reside in a single, separate
-  device-writable descriptor, \field{sense} MUST reside in a
+  \field{sense} MUST reside in a
   single separate device-writable descriptor of size 96 bytes,
   and \field{errors}, \field{data_len}, \field{sense_len} and
   \field{residual} MUST reside a single separate
-- 
MST

---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that 
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 


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

* Re: [virtio] [PATCH] block: drop duplicate text
  2019-03-18 22:54 [virtio] [PATCH] block: drop duplicate text Michael S. Tsirkin
@ 2019-03-26 10:25 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2019-03-26 10:25 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: virtio, virtio-dev, Gil Savir

[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]

On Mon, Mar 18, 2019 at 06:54:37PM -0400, Michael S. Tsirkin wrote:
> In version 1.1 draft 01 - Section 5.2.6.4 - second bullet:
> 
> Duplicated text "errors, data_len, sense_len and residual MUST reside in
> a single, separate device-writable descriptor" appears +both in the
> beginning and at the end of the 2nd sentence.
> 
> The original text:
> 
> For SCSI commands there are additional constraints. errors, data_len,
> sense_len and residual MUST reside in a single, separate device-writable
> descriptor, sense MUST reside in a single separate device-writable
> descriptor of size 96 bytes, and errors, data_len, sense_len and
> residual MUST reside a single separate device-writable descriptor.
> I suggest to delete the 1st one, so in the end result, fields are
> described in same order as appear in struct virtio_scsi_pc_req.
> 
> Fixes: https://github.com/oasis-tcs/virtio-spec/issues/39
> Reported-by: Gil Savir <gil.savir@intel.com>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  content.tex | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

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

end of thread, other threads:[~2019-03-26 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-18 22:54 [virtio] [PATCH] block: drop duplicate text Michael S. Tsirkin
2019-03-26 10:25 ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.