2021-10-25 10:26:07

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] virtio_blk: Fix spelling mistake: "advertisted" -> "advertised"

There is a spelling mistake in a dev_err error message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/block/virtio_blk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
index c336d9bb9105..9dd0099d2bd2 100644
--- a/drivers/block/virtio_blk.c
+++ b/drivers/block/virtio_blk.c
@@ -560,7 +560,7 @@ static int init_vq(struct virtio_blk *vblk)
if (err)
num_vqs = 1;
if (!err && !num_vqs) {
- dev_err(&vdev->dev, "MQ advertisted but zero queues reported\n");
+ dev_err(&vdev->dev, "MQ advertised but zero queues reported\n");
return -EINVAL;
}

--
2.32.0


2021-10-25 12:03:07

by Max Gurtovoy

[permalink] [raw]
Subject: Re: [PATCH][next] virtio_blk: Fix spelling mistake: "advertisted" -> "advertised"


On 10/25/2021 1:22 PM, Colin Ian King wrote:
> There is a spelling mistake in a dev_err error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/block/virtio_blk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
> index c336d9bb9105..9dd0099d2bd2 100644
> --- a/drivers/block/virtio_blk.c
> +++ b/drivers/block/virtio_blk.c
> @@ -560,7 +560,7 @@ static int init_vq(struct virtio_blk *vblk)
> if (err)
> num_vqs = 1;
> if (!err && !num_vqs) {
> - dev_err(&vdev->dev, "MQ advertisted but zero queues reported\n");
> + dev_err(&vdev->dev, "MQ advertised but zero queues reported\n");

Looks good,

Reviewed-by: Max Gurtovoy <[email protected]>

> return -EINVAL;
> }
>

2021-10-26 06:39:35

by Jason Wang

[permalink] [raw]
Subject: Re: [PATCH][next] virtio_blk: Fix spelling mistake: "advertisted" -> "advertised"

On Mon, Oct 25, 2021 at 6:22 PM Colin Ian King
<[email protected]> wrote:
>
> There is a spelling mistake in a dev_err error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Acked-by: Jason Wang <[email protected]>

> drivers/block/virtio_blk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
> index c336d9bb9105..9dd0099d2bd2 100644
> --- a/drivers/block/virtio_blk.c
> +++ b/drivers/block/virtio_blk.c
> @@ -560,7 +560,7 @@ static int init_vq(struct virtio_blk *vblk)
> if (err)
> num_vqs = 1;
> if (!err && !num_vqs) {
> - dev_err(&vdev->dev, "MQ advertisted but zero queues reported\n");
> + dev_err(&vdev->dev, "MQ advertised but zero queues reported\n");
> return -EINVAL;
> }
>
> --
> 2.32.0
>

2021-10-28 08:21:18

by Stefan Hajnoczi

[permalink] [raw]
Subject: Re: [PATCH][next] virtio_blk: Fix spelling mistake: "advertisted" -> "advertised"

On Mon, Oct 25, 2021 at 11:22:40AM +0100, Colin Ian King wrote:
> There is a spelling mistake in a dev_err error message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> drivers/block/virtio_blk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <[email protected]>


Attachments:
(No filename) (343.00 B)
signature.asc (499.00 B)
Download all attachments