aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-3.3/864-gpiommc_configfs_locking.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-3.3/864-gpiommc_configfs_locking.patch')
-rw-r--r--target/linux/generic/patches-3.3/864-gpiommc_configfs_locking.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.3/864-gpiommc_configfs_locking.patch b/target/linux/generic/patches-3.3/864-gpiommc_configfs_locking.patch
index d4201eb508..92815d91f4 100644
--- a/target/linux/generic/patches-3.3/864-gpiommc_configfs_locking.patch
+++ b/target/linux/generic/patches-3.3/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);