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:
9d17c23
)
bus.c: use WARN_ON() rather than BUG_ON()
author
Daniel Mack
<daniel@zonque.org>
Wed, 17 Dec 2014 12:31:22 +0000
(13:31 +0100)
committer
Daniel Mack
<daniel@zonque.org>
Wed, 17 Dec 2014 12:31:22 +0000
(13:31 +0100)
Signed-off-by: Daniel Mack <daniel@zonque.org>
bus.c
patch
|
blob
|
history
diff --git
a/bus.c
b/bus.c
index a0b03b9b0d947023ed66397bfef27c4e55efc27b..b75359dbbaa50136dad96f55d656ecf177a8efea 100644
(file)
--- a/
bus.c
+++ b/
bus.c
@@
-40,8
+40,8
@@
static void kdbus_bus_free(struct kdbus_node *node)
{
struct kdbus_bus *bus = container_of(node, struct kdbus_bus, node);
-
BUG
_ON(!list_empty(&bus->monitors_list));
-
BUG
_ON(!hash_empty(bus->conn_hash));
+
WARN
_ON(!list_empty(&bus->monitors_list));
+
WARN
_ON(!hash_empty(bus->conn_hash));
kdbus_notify_free(bus);