Skip to content

Commit 18f1360

Browse files
committed
Refine control message comments
1 parent a126bea commit 18f1360

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

virtio-snd.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -724,13 +724,12 @@ static int virtio_snd_desc_handler(virtio_snd_state_t *vsnd,
724724
uint32_t desc_idx,
725725
uint32_t *plen)
726726
{
727-
/* virtio-snd command uses at most 3 virtqueue descriptors, where
727+
/* A control message uses at most 3 virtqueue descriptors, where
728728
* the first descriptor contains:
729-
* struct virtio_snd_hdr hdr (for request)
729+
* struct virtio_snd_hdr hdr
730730
* the second descriptors contains:
731-
* struct virtio_snd_hdr hdr (for response)
732-
* if needed, the third descriptors contains:
733-
* (response payload structure)
731+
* struct virtio_snd_hdr hdr
732+
* if needed, the third descriptors contains the response payload structure.
734733
*/
735734
struct virtq_desc vq_desc[VSND_DESC_CNT];
736735

0 commit comments

Comments
 (0)