s390: 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@samsung.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Jingoo Han
2013-07-22 10:18:15 +09:00
committed by Martin Schwidefsky
parent fd3930f70c
commit 0178722be9
6 changed files with 9 additions and 9 deletions

View File

@@ -208,7 +208,7 @@ static ssize_t qeth_l3_dev_sniffer_store(struct device *dev,
goto out;
}
rc = strict_strtoul(buf, 16, &i);
rc = kstrtoul(buf, 16, &i);
if (rc) {
rc = -EINVAL;
goto out;