The master information can has null value,
if a complicated itmon error occurs due to bus problem.
Skip itmon_notifier at this time.
Change-Id: I111aa765025da42fd1a8e6d5fd047bec677f9d99
Signed-off-by: Jeonghee Kim <jhhhh.kim@samsung.com>
if (IS_ERR_OR_NULL(itmon_info))
return NOTIFY_DONE;
+ if (!itmon_info->master)
+ return NOTIFY_DONE;
+
/* print dump if it is an MFC ITMON error */
if ((strncmp("MFC", itmon_info->port, sizeof("MFC") - 1) == 0) &&
(strncmp("MFC", itmon_info->master, sizeof("MFC") - 1) == 0)) {