Forráskód Böngészése

qcacld-3.0: Replace instances of unadorned %p

Replace instances of unadorned %p which violates security guidelines.

Change-Id: Ic090b7e3702e8bf6caff7f54d101efabd9284f15
CRs-Fixed: 2133310
Alok Kumar 7 éve
szülő
commit
bf47b995b8
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      core/dp/txrx/ol_txrx.c

+ 2 - 2
core/dp/txrx/ol_txrx.c

@@ -2032,7 +2032,7 @@ static void ol_txrx_pdev_detach(struct cdp_pdev *ppdev, int force)
 		TAILQ_REMOVE(&pdev->req_list, req, req_list_elem);
 		pdev->req_list_depth--;
 		ol_txrx_err(
-			"%d: %p,verbose(%d), concise(%d), up_m(0x%x), reset_m(0x%x)\n",
+			"%d: %pK,verbose(%d), concise(%d), up_m(0x%x), reset_m(0x%x)\n",
 			i++,
 			req,
 			req->base.print.verbose,
@@ -3943,7 +3943,7 @@ ol_txrx_fw_stats_handler(ol_txrx_pdev_handle pdev,
 
 	if (!found) {
 		ol_txrx_err(
-			"req(%p) from firmware can't be found in the list\n", req);
+			"req(%pK) from firmware can't be found in the list\n", req);
 		return;
 	}