Parcourir la source

qcacmn: Fix format specifier

Replace %pk with %pK.

Change-Id: Iefc1ae6de8a744bdec5a7fdbb749f8580f2c0457
CRs-Fixed: 2900997
Shikha Bakshi il y a 4 ans
Parent
commit
ebadbe6b7f
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      dp/wifi3.0/dp_main.c
  2. 1 1
      dp/wifi3.0/dp_mon_filter.c

+ 1 - 1
dp/wifi3.0/dp_main.c

@@ -10032,7 +10032,7 @@ static QDF_STATUS dp_get_vdev_param(struct cdp_soc_t *cdp_soc, uint8_t vdev_id,
 		break;
 #endif
 	default:
-		dp_cdp_err("%pk: param value %d is wrong\n",
+		dp_cdp_err("%pK: param value %d is wrong",
 			   soc, param);
 		dp_vdev_unref_delete(soc, vdev, DP_MOD_ID_CDP);
 		return QDF_STATUS_E_FAILURE;

+ 1 - 1
dp/wifi3.0/dp_mon_filter.c

@@ -371,7 +371,7 @@ static QDF_STATUS dp_mon_filter_check_co_exist(struct dp_pdev *pdev)
 	 */
 	if (pdev->neighbour_peers_added &&
 	    ((pdev->mcopy_mode) || pdev->monitor_configured)) {
-		dp_mon_filter_err("%pk: Smart Monitor mode can't exist with modes\n"
+		dp_mon_filter_err("%pK: Smart Monitor mode can't exist with modes\n"
 				  "M_Copy Mode:%d\n"
 				  "Monitor Mode:%d",
 				  pdev->soc, pdev->mcopy_mode,