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

Colin Ian King posted 1 patch 4 days, 14 hours ago
drivers/s390/block/dasd_ioctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] s390/dasd: Fix spelling mistake "Ivalid" -> "Invalid"
Posted by Colin Ian King 4 days, 14 hours ago
There is a spelling mistake in a pr_warn message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 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",
 			dev_name(&device->cdev->dev));
 		dasd_put_device(device);
 		return DASD_COPYPAIRSWAP_INVALID;
-- 
2.37.1
Re: [PATCH][next] s390/dasd: Fix spelling mistake "Ivalid" -> "Invalid"
Posted by Heiko Carstens 22 hours ago
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@gmail.com>
> ---
>  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.