When the ITMON's dest is MFC, the master info is NULL and
the MFC debug info is not shown. So this adds to check dest info
even if master info is NULL.
Change-Id: Iac6a99059d4a82a3bfb8d97b20ff5d760f3a3598
Signed-off-by: Sunyoung Kang <sy0816.kang@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)) {