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:
Mahesh Kumar Kalikot Veetil 2017-10-30 09:48:09 -07:00 • committed by snandini
commit 9655be589a

View file

@ -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;
}