mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 19:55:16 -05:00
qcacmn: Change format specifier %p to %pK
The printk format '%pK' will not leak kernel pointers to unprivileged users. So change the format specifier from %p to %pK. Change-Id: Ia229433dbbadc69cc1442c9e683659b8194e30b5 CRs-Fixed: 2133315
This commit is contained in:
parent
57a435a7e0
commit
9655be589a
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ qdf_dentry_t qdf_debugfs_create_file(const char *name, uint16_t mode,
|
|||
|
||||
if (IS_ERR_OR_NULL(file)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s creation failed %p", name, file);
|
||||
"%s creation failed 0x%pK", name, file);
|
||||
file = NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue