diff mbox series

drivers/block/xen-blkback/common.h: Fix spelling typo in comment

Message ID 20231221030014.1319663-1-liyouhong@kylinos.cn (mailing list archive)
State New, archived
Headers show
Series drivers/block/xen-blkback/common.h: Fix spelling typo in comment | expand

Commit Message

YouHong Li Dec. 21, 2023, 3 a.m. UTC
From: liyouhong <liyouhong@kylinos.cn>

Fix spelling typo in comment.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: liyouhong <liyouhong@kylinos.cn>

Comments

Jürgen Groß Dec. 21, 2023, 6:55 a.m. UTC | #1
On 21.12.23 04:00, YouHong Li wrote:
> From: liyouhong <liyouhong@kylinos.cn>
> 
> Fix spelling typo in comment.
> 
> Reported-by: k2ci <kernel-bot@kylinos.cn>
> Signed-off-by: liyouhong <liyouhong@kylinos.cn>
> 
> diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
> index 40f67bfc052d..c64253d3bb40 100644
> --- a/drivers/block/xen-blkback/common.h
> +++ b/drivers/block/xen-blkback/common.h
> @@ -132,7 +132,7 @@ struct blkif_x86_32_request {
>   struct blkif_x86_64_request_rw {
>   	uint8_t        nr_segments;  /* number of segments                   */
>   	blkif_vdev_t   handle;       /* only for read/write requests         */
> -	uint32_t       _pad1;        /* offsetof(blkif_reqest..,u.rw.id)==8  */
> +	uint32_t       _pad1;        /* offsetof(blkif_request..,u.rw.id)==8  */

Please keep the "*/" aligned with the ones above and below.

>   	uint64_t       id;
>   	blkif_sector_t sector_number;/* start sector idx on disk (r/w only)  */
>   	struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];


Juergen
diff mbox series

Patch

diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index 40f67bfc052d..c64253d3bb40 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -132,7 +132,7 @@  struct blkif_x86_32_request {
 struct blkif_x86_64_request_rw {
 	uint8_t        nr_segments;  /* number of segments                   */
 	blkif_vdev_t   handle;       /* only for read/write requests         */
-	uint32_t       _pad1;        /* offsetof(blkif_reqest..,u.rw.id)==8  */
+	uint32_t       _pad1;        /* offsetof(blkif_request..,u.rw.id)==8  */
 	uint64_t       id;
 	blkif_sector_t sector_number;/* start sector idx on disk (r/w only)  */
 	struct blkif_request_segment seg[BLKIF_MAX_SEGMENTS_PER_REQUEST];