projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62aadee
)
greybus: Revert "protocol.c: fix a kernel panic caused by __gb_protocol_register"
author
Greg Kroah-Hartman
<greg@kroah.com>
Fri, 23 Jan 2015 02:05:58 +0000
(10:05 +0800)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Fri, 23 Jan 2015 02:05:58 +0000
(10:05 +0800)
This reverts commit
57131bf309d34568dd3b8f8e9da7a7ba25e9495e
, it isn't
going to be needed as the patch this fixes will be reverted.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/protocol.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/greybus/protocol.c
b/drivers/staging/greybus/protocol.c
index 400f733864749a48fc11c81b52204bd825376369..ae8ab21ee920484ee69708f72222b0a93c85e7f3 100644
(file)
--- a/
drivers/staging/greybus/protocol.c
+++ b/
drivers/staging/greybus/protocol.c
@@
-70,7
+70,7
@@
int __gb_protocol_register(struct gb_protocol *protocol, struct module *module)
* We need to insert the protocol here, before the existing one
* (or before the head if we searched the whole list)
*/
- list_add_tail(&protocol->links, &
gb_protocol
s);
+ list_add_tail(&protocol->links, &
existing->link
s);
spin_unlock_irq(&gb_protocols_lock);
pr_info("Registered %s protocol.\n", protocol->name);