ocfs2-replaced-simple_strtoull-with-kstrtoull.patch removed from -mm tree
The patch titled
Subject: ocfs2: replace simple_strtoull() with kstrtoull()
has been removed from the -mm tree. Its filename was
ocfs2-replaced-simple_strtoull-with-kstrtoull.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Chen Huang <[email protected]>
Subject: ocfs2: replace simple_strtoull() with kstrtoull()
simple_strtoull() is deprecated in some situation since it does not check for the range overflow, use kstrtoull() instead.
Signed-off-by Chen Huang <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Junxiao Bi <[email protected]>
Cc Joseph Qi <[email protected]>
Cc Changwei Ge <[email protected]>
Cc Gang He <[email protected]>
Cc Jun Piao <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ocfs2/cluster/heartbeat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
fs/ocfs2/cluster/heartbeat.c renamed from fs/ocfs2/cluster/heartbeat.c~ocfs2-replaced-simple_strtoull-with-kstrtoull +3 -2
@@ -1596,12 +1596,13 @@ static ssize_t o2hb_region_start_block_sstruct o2hb_region *reg =to_o2hb_region (item);unsigned long long tmp;char *p = (char *)page; +ssize_t ret;if (reg->hr_bdev)return -EINVAL ; - tmp =simple_strtoull (p, &p,0 ); -if (!p || (*p && (*p !='\n' ))) + ret =kstrtoull (p,0 , &tmp); +if (ret)return -EINVAL ; reg->hr_start_block = tmp;
_
Patches currently in -mm which might be from [email protected] are