Merge "msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl"
This commit is contained in:
commit
9edfa7b95a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
dprintk(VIDC_ERR, "Invalid params, inst: %pK\n", inst);
|
||||||
goto exit;
|
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);
|
idata = kzalloc(sizeof(struct core_inst_pair), GFP_KERNEL);
|
||||||
if (!idata) {
|
if (!idata) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue