projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[orion] update to 2.6.28 final
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
patches-2.6.25
/
964-backport_gpiolib_fix_off_by_one_errors.patch
diff --git
a/target/linux/generic-2.6/patches-2.6.25/964-backport_gpiolib_fix_off_by_one_errors.patch
b/target/linux/generic-2.6/patches-2.6.25/964-backport_gpiolib_fix_off_by_one_errors.patch
index
74d7247
..
c875a0d
100644
(file)
--- a/
target/linux/generic-2.6/patches-2.6.25/964-backport_gpiolib_fix_off_by_one_errors.patch
+++ b/
target/linux/generic-2.6/patches-2.6.25/964-backport_gpiolib_fix_off_by_one_errors.patch
@@
-17,7
+17,7
@@
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
-@@ -127,7 +127,7 @@
+@@ -127,7 +127,7 @@
int __init gpiochip_reserve(int start, i
unsigned long flags;
int i;
unsigned long flags;
int i;
@@
-26,7
+26,7
@@
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
return -EINVAL;
spin_lock_irqsave(&gpio_lock, flags);
return -EINVAL;
spin_lock_irqsave(&gpio_lock, flags);
-@@ -170,7 +170,7 @@
+@@ -170,7 +170,7 @@
int gpiochip_add(struct gpio_chip *chip)
unsigned id;
int base = chip->base;
unsigned id;
int base = chip->base;
@@
-35,7
+35,7
@@
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
&& base >= 0) {
status = -EINVAL;
goto fail;
&& base >= 0) {
status = -EINVAL;
goto fail;
-@@ -207,7 +207,7 @@
+@@ -207,7 +207,7 @@
fail:
/* failures here can mean systems won't boot... */
if (status)
pr_err("gpiochip_add: gpios %d..%d (%s) not registered\n",
/* failures here can mean systems won't boot... */
if (status)
pr_err("gpiochip_add: gpios %d..%d (%s) not registered\n",
This page took
0.025926 seconds
and
4
git commands to generate.