projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b07f9b2
)
notify: explictly set payload_type = KDBUS_PAYLOAD_KERNEL
author
Daniel Mack
<daniel@zonque.org>
Wed, 10 Sep 2014 12:26:19 +0000
(14:26 +0200)
committer
Daniel Mack
<daniel@zonque.org>
Wed, 10 Sep 2014 12:26:19 +0000
(14:26 +0200)
notify.c
patch
|
blob
|
history
diff --git
a/notify.c
b/notify.c
index 60106ebdccc5c3d5077e8425c3b7f36be9c4d985..efd3f37f59bda29bfd343f1f5eab222ce5b31cdb 100644
(file)
--- a/
notify.c
+++ b/
notify.c
@@
-116,6
+116,7
@@
int kdbus_notify_name_change(struct kdbus_bus *bus, u64 type,
kmsg->msg.dst_id = KDBUS_DST_ID_BROADCAST;
kmsg->msg.src_id = KDBUS_SRC_ID_KERNEL;
+ kmsg->msg.payload_type = KDBUS_PAYLOAD_KERNEL;
kmsg->notify_type = type;
kmsg->notify_old_id = old_id;
kmsg->notify_new_id = new_id;
@@
-154,6
+155,7
@@
int kdbus_notify_id_change(struct kdbus_bus *bus, u64 type, u64 id, u64 flags)
kmsg->msg.dst_id = KDBUS_DST_ID_BROADCAST;
kmsg->msg.src_id = KDBUS_SRC_ID_KERNEL;
+ kmsg->msg.payload_type = KDBUS_PAYLOAD_KERNEL;
kmsg->notify_type = type;
switch (type) {