From 1f88428baf79d95bd9afbcb68ff5e604e1781dfe Mon Sep 17 00:00:00 2001 From: Arif Hussain Date: Fri, 3 Nov 2017 14:22:49 -0700 Subject: [PATCH] qcacmn: Replace instances of unadorned pointer reference in DFS Replace all instances of %p with %pK in DFS component, so that kernel pointers are hidden from unprivileged users. Change-Id: Ia10971516bf962287af9ff8dce873888500a01a1 CRs-fixed: 2133321 --- umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c b/umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c index 047907e5a861..1d9fe71c3221 100644 --- a/umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c +++ b/umac/dfs/dispatcher/src/wlan_dfs_tgt_api.c @@ -360,7 +360,7 @@ QDF_STATUS tgt_dfs_process_emulate_bang_radar_cmd(struct wlan_objmgr_pdev *pdev, dfs_unit_test); else dfs_err(NULL, WLAN_DEBUG_DFS_ALWAYS, - "dfs_tx_ops=%p", dfs_tx_ops); + "dfs_tx_ops=%pK", dfs_tx_ops); return QDF_STATUS_E_FAILURE; }