lib: os: assign sys_notify callback default to NULL...
...instead of numeric zero. Current usage violates MISRA rule 11.9. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
0773441422
commit
143a18b36b
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ sys_notify_generic_callback sys_notify_finalize(struct sys_notify *notify,
|
|||
int res)
|
||||
{
|
||||
struct k_poll_signal *sig = NULL;
|
||||
sys_notify_generic_callback rv = 0;
|
||||
sys_notify_generic_callback rv = NULL;
|
||||
uint32_t method = sys_notify_get_method(notify);
|
||||
|
||||
/* Store the result and capture secondary notification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue