From 023ed9c87c741742095b291a06b5862c57b24ff6 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sat, 27 Jul 2013 09:23:18 +0000 Subject: strict_strtoul is obsolete, use kstrtoul instead based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch') diff --git a/target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch b/target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch index d4201eb508..92815d91f4 100644 --- a/target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch +++ b/target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch @@ -37,7 +37,7 @@ does not lock access between files. + mutex_lock(&dev->mutex); + if (attr == &gpiommc_attr_register) { - err = strict_strtoul(page, 10, &data); + err = kstrtoul(page, 10, &data); if (err) @@ -478,6 +486,8 @@ static ssize_t gpiommc_config_attr_store WARN_ON(1); -- cgit v1.2.3