[merged] block-replace-strict_strtoul-with-kstrtoul.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Subject: [merged] block-replace-strict_strtoul-with-kstrtoul.patch removed from -mm tree
To: jg1.han@xxxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx
From: akpm@xxxxxxxxxxxxxxxxxxxx
Date: Thu, 12 Sep 2013 12:41:59 -0700


The patch titled
     Subject: block: replace strict_strtoul() with kstrtoul()
has been removed from the -mm tree.  Its filename was
     block-replace-strict_strtoul-with-kstrtoul.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jingoo Han <jg1.han@xxxxxxxxxxx>
Subject: block: replace strict_strtoul() with kstrtoul()

The use of strict_strtoul() is not preferred, because strict_strtoul() is
obsolete.  Thus, kstrtoul() should be used.

Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/block/osdblk.c             |    2 +-
 drivers/block/rbd.c                |    2 +-
 drivers/block/xen-blkback/xenbus.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff -puN drivers/block/osdblk.c~block-replace-strict_strtoul-with-kstrtoul drivers/block/osdblk.c
--- a/drivers/block/osdblk.c~block-replace-strict_strtoul-with-kstrtoul
+++ a/drivers/block/osdblk.c
@@ -598,7 +598,7 @@ static ssize_t class_osdblk_remove(struc
 	unsigned long ul;
 	struct list_head *tmp;
 
-	rc = strict_strtoul(buf, 10, &ul);
+	rc = kstrtoul(buf, 10, &ul);
 	if (rc)
 		return rc;
 
diff -puN drivers/block/rbd.c~block-replace-strict_strtoul-with-kstrtoul drivers/block/rbd.c
--- a/drivers/block/rbd.c~block-replace-strict_strtoul-with-kstrtoul
+++ a/drivers/block/rbd.c
@@ -5132,7 +5132,7 @@ static ssize_t rbd_remove(struct bus_typ
 	bool already = false;
 	int ret;
 
-	ret = strict_strtoul(buf, 10, &ul);
+	ret = kstrtoul(buf, 10, &ul);
 	if (ret)
 		return ret;
 
diff -puN drivers/block/xen-blkback/xenbus.c~block-replace-strict_strtoul-with-kstrtoul drivers/block/xen-blkback/xenbus.c
--- a/drivers/block/xen-blkback/xenbus.c~block-replace-strict_strtoul-with-kstrtoul
+++ a/drivers/block/xen-blkback/xenbus.c
@@ -620,7 +620,7 @@ static void backend_changed(struct xenbu
 	}
 
 	/* Front end dir is a number, which is used as the handle. */
-	err = strict_strtoul(strrchr(dev->otherend, '/') + 1, 0, &handle);
+	err = kstrtoul(strrchr(dev->otherend, '/') + 1, 0, &handle);
 	if (err)
 		return;
 
_

Patches currently in -mm which might be from jg1.han@xxxxxxxxxxx are

origin.patch
kernel-replace-strict_strto-with-kstrto.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux