Isaac J. Manjarres 7b6565dbcb lib: refcount: Cause kernel panic on refcount error detection
Currently, when using the refcount API functions,
a warning is printed out once to let a user of
the refcount API know that an error case has been
detected. Then the refcount functions will
silently return, without modifying the reference count, which
could be mistaken for a successful modification. This can
allow for improper use of the object associated with that
refcount later. Trigger a kernel panic in case of refcount
error detection to prevent misuse of objects associated with
refcounts.

Change-Id: Ifb6a331d08a7d6c285225bc9667d2f4054db3561
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2018-05-09 22:53:15 -07:00
..
2018-03-03 10:24:29 +01:00
2017-08-15 09:02:08 -07:00
2017-06-09 11:52:07 +02:00
2017-02-24 17:46:57 -08:00
2017-05-09 15:40:28 -07:00
2017-02-24 17:46:57 -08:00
2017-10-03 17:54:25 -07:00
2018-02-16 20:23:04 +01:00
2016-12-06 10:17:03 +02:00
2018-02-12 05:53:57 -08:00
2017-07-07 10:37:54 -07:00
2017-08-15 09:02:07 -07:00