projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c4b2c
)
[IFB] After ifb_init_one() failed, i is increased. Decrease
author
Nicolas Dichtel
<nicolas.dichtel@6wind.com>
Fri, 21 Jul 2006 21:56:02 +0000
(14:56 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 21 Jul 2006 21:56:02 +0000
(14:56 -0700)
It before entering in the loop for freeing the other ifb devices.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ifb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ifb.c
b/drivers/net/ifb.c
index 3a42afab50362983fc2b393b191757d59f5d5c21..43e3f33ed5e20578b57b6872bf1be549a3502fbf 100644
(file)
--- a/
drivers/net/ifb.c
+++ b/
drivers/net/ifb.c
@@
-271,6
+271,7
@@
static int __init ifb_init_module(void)
for (i = 0; i < numifbs && !err; i++)
err = ifb_init_one(i);
if (err) {
+ i--;
while (--i >= 0)
ifb_free_one(i);
}