kernel: k_object key pointer should be void *

These are not C strings, just pointers to kernel objects.
Improves output when working with a debugger.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-11-19 18:27:42 -08:00 committed by Andrew Boie
parent f290ab595c
commit 22553a7edb

View file

@ -168,7 +168,7 @@ enum k_objects {
/* Table generated by gperf, these objects are retrieved via
* z_object_find() */
struct _k_object {
char *name;
void *name;
u8_t perms[CONFIG_MAX_THREAD_BYTES];
u8_t type;
u8_t flags;