Merge "msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl"

This commit is contained in:
Linux Build Service Account 2017-08-31 05:08:56 -07:00 committed by Gerrit - the friendly Code Review server
commit 9edfa7b95a

View file

@ -445,7 +445,7 @@ struct dentry *msm_vidc_debugfs_init_inst(struct msm_vidc_inst *inst,
dprintk(VIDC_ERR, "Invalid params, inst: %pK\n", inst);
goto exit;
}
snprintf(debugfs_name, MAX_DEBUGFS_NAME, "inst_%p", inst);
snprintf(debugfs_name, MAX_DEBUGFS_NAME, "inst_%pK", inst);
idata = kzalloc(sizeof(struct core_inst_pair), GFP_KERNEL);
if (!idata) {