X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-3.3%2F863-gpiommc.patch;h=5e5325f197b0b0c6cd590cc4a69c4ebd6d28a9bb;hb=d3c6606980982d35b844b07a393729b1eeef9474;hp=9a5f811a756a4bd64b5928c9496a7b14f37c0165;hpb=75d051e29d5806b4d09e408d3546317fb910f3f0;p=openwrt.git diff --git a/target/linux/generic/patches-3.3/863-gpiommc.patch b/target/linux/generic/patches-3.3/863-gpiommc.patch index 9a5f811a75..5e5325f197 100644 --- a/target/linux/generic/patches-3.3/863-gpiommc.patch +++ b/target/linux/generic/patches-3.3/863-gpiommc.patch @@ -357,7 +357,7 @@ + unsigned long data; + + if (attr == &gpiommc_attr_register) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -378,7 +378,7 @@ + } + + if (attr == &gpiommc_attr_DI) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -389,7 +389,7 @@ + goto out; + } + if (attr == &gpiommc_attr_DO) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -400,7 +400,7 @@ + goto out; + } + if (attr == &gpiommc_attr_CLK) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -411,7 +411,7 @@ + goto out; + } + if (attr == &gpiommc_attr_CS) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -422,7 +422,7 @@ + goto out; + } + if (attr == &gpiommc_attr_CS_activelow) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -433,7 +433,7 @@ + goto out; + } + if (attr == &gpiommc_attr_spimode) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -457,7 +457,7 @@ + goto out; + } + if (attr == &gpiommc_attr_spidelay) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -468,7 +468,7 @@ + goto out; + } + if (attr == &gpiommc_attr_max_bus_speed) { -+ err = strict_strtoul(page, 10, &data); ++ err = kstrtoul(page, 10, &data); + if (err) + goto out; + err = -EINVAL; @@ -830,7 +830,7 @@ +be done automatically. --- a/MAINTAINERS +++ b/MAINTAINERS -@@ -3025,6 +3025,11 @@ L: linuxppc-dev@lists.ozlabs.org +@@ -3045,6 +3045,11 @@ L: linuxppc-dev@lists.ozlabs.org S: Odd Fixes F: drivers/tty/hvc/