projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
057ba87
)
slimbus: messaging: initialize completion correctly
author
Srinivas Kandagatla
<
[email protected]
>
Tue, 19 Jun 2018 15:12:04 +0000
(16:12 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 7 Jul 2018 15:23:12 +0000
(17:23 +0200)
slim_val_inf can contain random value from stack, make sure the completion
is initialized to NULL while filling the msg.
Signed-off-by: Srinivas Kandagatla <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/slimbus/messaging.c
patch
|
blob
|
history
diff --git
a/drivers/slimbus/messaging.c
b/drivers/slimbus/messaging.c
index 1c57b631031a4a91703e8184d58790aee69f3c43..e3605ed1c459f402de5da380ffcffe4409cd429c 100644
(file)
--- a/
drivers/slimbus/messaging.c
+++ b/
drivers/slimbus/messaging.c
@@
-246,6
+246,7
@@
static void slim_fill_msg(struct slim_val_inf *msg, u32 addr,
msg->num_bytes = count;
msg->rbuf = rbuf;
msg->wbuf = wbuf;
+ msg->comp = NULL;
}
/**