From: liyouhong <[email protected]>
Fix spelling typo in comment.
Reported-by: k2ci <[email protected]>
Signed-off-by: liyouhong <[email protected]>
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];
--
2.34.1
On 21.12.23 04:00, YouHong Li wrote:
> From: liyouhong <[email protected]>
>
> Fix spelling typo in comment.
>
> Reported-by: k2ci <[email protected]>
> Signed-off-by: liyouhong <[email protected]>
>
> 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