qcacld-3.0: sap: Replace instances of unadorned %p
Replace instances of unadorned %p in core/sap. Change-Id: I37a803518430313d360d10e429469fa7bb471b78 CRs-Fixed: 2100997
This commit is contained in:
@@ -792,7 +792,7 @@ dfs_control(struct ieee80211com *ic, u_int id,
|
||||
case DFS_SET_THRESH:
|
||||
if (insize < sizeof(struct dfs_ioctl_params) || !indata) {
|
||||
DFS_DPRINTK(dfs, ATH_DEBUG_DFS1,
|
||||
"%s: insize=%d, expected=%zu bytes, indata=%p\n",
|
||||
"%s: insize=%d, expected=%zu bytes, indata=%pK\n",
|
||||
__func__, insize,
|
||||
sizeof(struct dfs_ioctl_params), indata);
|
||||
error = -EINVAL;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2002-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -388,7 +388,7 @@ dfs_check_chirping_sowl(struct ath_dfs *dfs, void *buf,
|
||||
/* DEBUG - Print relevant portions of the FFT data */
|
||||
for (p = 0; p < num_fft_packets; p++) {
|
||||
|
||||
DFS_DPRINTK(dfs, ATH_DEBUG_DFS_BIN5_FFT, "fft_data_ptr=0x%p\t",
|
||||
DFS_DPRINTK(dfs, ATH_DEBUG_DFS_BIN5_FFT, "fft_data_ptr=0x%pK\t",
|
||||
fft_data_ptr);
|
||||
DFS_DPRINTK(dfs, ATH_DEBUG_DFS_BIN5_FFT, "[66]=%d [69]=%d\n",
|
||||
*(fft_data_ptr + FFT_LOWER_BIN_MAX_INDEX_BYTE) >> 2,
|
||||
|
@@ -87,7 +87,7 @@ void dfs_reset_alldelaylines(struct ath_dfs *dfs, int seg_id)
|
||||
|
||||
if (pl == NULL) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s[%d]: pl==NULL, dfs=%p", __func__, __LINE__, dfs);
|
||||
"%s[%d]: pl==NULL, dfs=%pK", __func__, __LINE__, dfs);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ void dfs_reset_alldelaylines(struct ath_dfs *dfs, int seg_id)
|
||||
if (((seg_id == 0) ?
|
||||
dfs->dfs_b5radars : dfs->dfs_b5radars_ext_seg) == NULL) {
|
||||
DFS_DPRINTK(dfs, ATH_DEBUG_DFS,
|
||||
"%s: pl==NULL, b5radars=%p\n",
|
||||
"%s: pl==NULL, b5radars=%pK\n",
|
||||
__func__,
|
||||
(seg_id == 0) ? dfs->dfs_b5radars :
|
||||
dfs->dfs_b5radars_ext_seg);
|
||||
@@ -104,7 +104,7 @@ void dfs_reset_alldelaylines(struct ath_dfs *dfs, int seg_id)
|
||||
} else {
|
||||
if (dfs->dfs_b5radars == NULL) {
|
||||
QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s[%d]: pl==NULL, b5radars=%p", __func__, __LINE__,
|
||||
"%s[%d]: pl==NULL, b5radars=%pK", __func__, __LINE__,
|
||||
dfs->dfs_b5radars);
|
||||
return;
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -318,7 +318,7 @@ radar_summary_parse(struct ath_dfs *dfs, const char *buf, size_t len,
|
||||
rs[1]);
|
||||
/*
|
||||
* DFS_DPRINTK(dfs, ATH_DEBUG_DFS_PHYERR,
|
||||
"%s (p=%p):", __func__, buf);
|
||||
"%s (p=%pK):", __func__, buf);
|
||||
*/
|
||||
|
||||
is_chip_oversampling = PERE_IS_OVERSAMPLING(dfs);
|
||||
@@ -584,7 +584,7 @@ static int tlv_calc_freq_info(struct ath_dfs *dfs, struct rx_radar_status *rs)
|
||||
* For now, just handle up to VHT80 correctly.
|
||||
*/
|
||||
if (dfs->ic == NULL || dfs->ic->ic_curchan == NULL) {
|
||||
DFS_PRINTK("%s: dfs->ic=%p, that or curchan is null?",
|
||||
DFS_PRINTK("%s: dfs->ic=%pK, that or curchan is null?",
|
||||
__func__, dfs->ic);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user