[merged] block-blk-sysfs-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-blk-sysfs-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:42:01 -0700


The patch titled
     Subject: block/blk-sysfs.c: replace strict_strtoul() with kstrtoul()
has been removed from the -mm tree.  Its filename was
     block-blk-sysfs-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/blk-sysfs.c: replace strict_strtoul() with kstrtoul()

The usage 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>
---

 block/blk-sysfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN block/blk-sysfs.c~block-blk-sysfs-replace-strict_strtoul-with-kstrtoul block/blk-sysfs.c
--- a/block/blk-sysfs.c~block-blk-sysfs-replace-strict_strtoul-with-kstrtoul
+++ a/block/blk-sysfs.c
@@ -29,7 +29,7 @@ queue_var_store(unsigned long *var, cons
 	int err;
 	unsigned long v;
 
-	err = strict_strtoul(page, 10, &v);
+	err = kstrtoul(page, 10, &v);
 	if (err || v > UINT_MAX)
 		return -EINVAL;
 
_

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