Переглянути джерело

qcacmn: os_if: Replace instances of unadorned %p

Replace instances of unadorned %p in os_if.

Change-Id: Iddbd3deb6562e462358ed7bd0f51b18a027eee5a
CRs-Fixed: 2111274
Jeff Johnson 7 роки тому
батько
коміт
6a1a0dafb4

+ 4 - 4
os_if/linux/p2p/src/wlan_cfg80211_p2p.c

@@ -55,7 +55,7 @@ static void wlan_p2p_rx_callback(void *user_data,
 	struct wireless_dev *wdev;
 	uint16_t freq;
 
-	cfg80211_debug("user data:%p, vdev id:%d, rssi:%d, buf:%p, len:%d",
+	cfg80211_debug("user data:%pK, vdev id:%d, rssi:%d, buf:%pK, len:%d",
 		user_data, rx_frame->vdev_id, rx_frame->rx_rssi,
 		rx_frame->buf, rx_frame->frame_len);
 
@@ -129,7 +129,7 @@ static void wlan_p2p_action_tx_cnf_callback(void *user_data,
 	struct wireless_dev *wdev;
 	bool is_success;
 
-	cfg80211_info("user data:%p, action cookie:%llx, buf:%p, len:%d, tx status:%d",
+	cfg80211_info("user data:%pK, action cookie:%llx, buf:%pK, len:%d, tx status:%d",
 		user_data, tx_cnf->action_cookie, tx_cnf->buf,
 		tx_cnf->buf_len, tx_cnf->status);
 
@@ -186,7 +186,7 @@ static void wlan_p2p_lo_event_callback(void *user_data,
 	struct wireless_dev *wdev;
 	struct sk_buff *vendor_event;
 
-	cfg80211_debug("user data:%p, vdev id:%d, reason code:%d",
+	cfg80211_debug("user data:%pK, vdev id:%d, reason code:%d",
 		user_data, p2p_lo_event->vdev_id,
 		p2p_lo_event->reason_code);
 
@@ -256,7 +256,7 @@ static void wlan_p2p_event_callback(void *user_data,
 	struct vdev_osif_priv *osif_priv;
 	struct wireless_dev *wdev;
 
-	cfg80211_debug("user data:%p, vdev id:%d, event type:%d",
+	cfg80211_debug("user data:%pK, vdev id:%d, event type:%d",
 		user_data, p2p_event->vdev_id, p2p_event->roc_event);
 
 	psoc = user_data;

+ 1 - 1
os_if/linux/scan/src/wlan_cfg80211_scan.c

@@ -734,7 +734,7 @@ static QDF_STATUS wlan_scan_request_dequeue(
 				*source = scan_req->source;
 				qdf_mem_free(scan_req);
 				qdf_mutex_release(&scan_priv->scan_req_q_lock);
-				cfg80211_info("removed Scan id: %d, req = %p, pending scans %d",
+				cfg80211_info("removed Scan id: %d, req = %pK, pending scans %d",
 				      scan_id, req,
 				      qdf_list_size(&scan_priv->scan_req_q));
 				return QDF_STATUS_SUCCESS;

+ 2 - 2
os_if/linux/tdls/src/wlan_cfg80211_tdls.c

@@ -579,7 +579,7 @@ void wlan_cfg80211_tdls_rx_callback(void *user_data,
 	struct wireless_dev *wdev;
 	uint16_t freq;
 
-	cfg80211_debug("user data:%p, vdev id:%d, rssi:%d, buf:%p, len:%d",
+	cfg80211_debug("user data:%pK, vdev id:%d, rssi:%d, buf:%pK, len:%d",
 		user_data, rx_frame->vdev_id, rx_frame->rx_rssi,
 		rx_frame->buf, rx_frame->frame_len);
 
@@ -808,7 +808,7 @@ void wlan_cfg80211_tdls_event_callback(void *user_data,
 	struct osif_tdls_vdev *tdls_priv;
 
 	if (!ind || !ind->vdev) {
-		cfg80211_err("ind: %p", ind);
+		cfg80211_err("ind: %pK", ind);
 		return;
 	}
 	osif_vdev = wlan_vdev_get_ospriv(ind->vdev);