Loading drivers/media/platform/msm/vidc/msm_vidc_debug.c +4 −2 Original line number Diff line number Diff line Loading @@ -285,7 +285,8 @@ struct dentry *msm_vidc_debugfs_init_core(struct msm_vidc_core *core, snprintf(debugfs_name, MAX_DEBUGFS_NAME, "core%d", core->id); dir = debugfs_create_dir(debugfs_name, parent); if (!dir) { if (IS_ERR_OR_NULL(dir)) { dir = NULL; dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n"); goto failed_create_dir; } Loading Loading @@ -503,7 +504,8 @@ struct dentry *msm_vidc_debugfs_init_inst(struct msm_vidc_inst *inst, idata->inst = inst; dir = debugfs_create_dir(debugfs_name, parent); if (!dir) { if (IS_ERR_OR_NULL(dir)) { dir = NULL; dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n"); goto failed_create_dir; } Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_debug.c +4 −2 Original line number Diff line number Diff line Loading @@ -285,7 +285,8 @@ struct dentry *msm_vidc_debugfs_init_core(struct msm_vidc_core *core, snprintf(debugfs_name, MAX_DEBUGFS_NAME, "core%d", core->id); dir = debugfs_create_dir(debugfs_name, parent); if (!dir) { if (IS_ERR_OR_NULL(dir)) { dir = NULL; dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n"); goto failed_create_dir; } Loading Loading @@ -503,7 +504,8 @@ struct dentry *msm_vidc_debugfs_init_inst(struct msm_vidc_inst *inst, idata->inst = inst; dir = debugfs_create_dir(debugfs_name, parent); if (!dir) { if (IS_ERR_OR_NULL(dir)) { dir = NULL; dprintk(VIDC_ERR, "Failed to create debugfs for msm_vidc\n"); goto failed_create_dir; } Loading