summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-27 09:23:18 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-07-27 09:23:18 +0000
commit72a6c7669e7724e53da5d82272c205f014d7b0f1 (patch)
treefdbce23ccf144c0572aba6ffa7a39415945abece /target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch
parent3ada8d619de9ab069e18279522ce10b3413701cb (diff)
strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/ Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch')
-rw-r--r--target/linux/generic/patches-3.10/864-gpiommc_configfs_locking.patch2
1 files changed, 1 insertions, 1 deletions
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);