Skip to contentSkip to conversation

s390/dasd: Fix spelling mistake "Ivalid" -> "Invalid"

PATCH Applied Colin Ian King 3 participants 3 messages Sep 23, 2022 – Nov 11, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390/dasd: Fix spelling mistake "Ivalid" -> "Invalid"

There is a spelling mistake in a pr_warn message. Fix it.

---
 drivers/s390/block/dasd_ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/s390/block/dasd_ioctl.c +1 -1
index d0ddf2cc9786..484de696839c 100644
@@ -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;
Signature · 1 line
2.37.1
maintainer
#1 lore raw
Quoted 12 lines · Colin Ian King

There is a spelling mistake in a pr_warn message. Fix it.

---
 drivers/s390/block/dasd_ioctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/s390/block/dasd_ioctl.c +0 -0
index d0ddf2cc9786..484de696839c 100644

drivers/s390/block/dasd_ioctl.c dasd_ioctl_copy_pair_swap(struct block_device *bdev, void __user *argp) · line 404

Quoted 5 lines
drivers/s390/block/dasd_ioctl.c +1 -1
@@ -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.