lkml.org 
[lkml]   [2023]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] drivers/block/xen-blkback/common.h: Fix spelling typo in comment
From
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
[unhandled content-type:application/pgp-keys][unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-12-21 07:55    [W:0.282 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site