Re: [PATCH][next] s390/dasd: Fix spelling mistake "Ivalid" -> "Invalid"

From: Heiko Carstens
Date: Tue Sep 27 2022 - 01:47:12 EST


On Fri, Sep 23, 2022 at 02:21:03PM +0100, Colin Ian King wrote:
> There is a spelling mistake in a pr_warn message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> ---
> drivers/s390/block/dasd_ioctl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c
> index d0ddf2cc9786..484de696839c 100644
> --- a/drivers/s390/block/dasd_ioctl.c
> +++ b/drivers/s390/block/dasd_ioctl.c
> @@ -401,7 +401,7 @@ dasd_ioctl_copy_pair_swap(struct block_device *bdev, void __user *argp)
> return -EFAULT;
> }
> if (memchr_inv(data.reserved, 0, sizeof(data.reserved))) {
> - pr_warn("%s: Ivalid swap data specified.\n",
> + pr_warn("%s: Invalid swap data specified.\n",

While at it you could also remove the full stop at the end of the
string, which is inconsistent to all other pr_warn() invocations
within the dasd device driver.