summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CORE/SERVICES/DFS/src/dfs.c2
-rw-r--r--CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/CORE/SERVICES/DFS/src/dfs.c b/CORE/SERVICES/DFS/src/dfs.c
index 85fe1bf9a7d6..c8d40d5b0049 100644
--- a/CORE/SERVICES/DFS/src/dfs.c
+++ b/CORE/SERVICES/DFS/src/dfs.c
@@ -648,7 +648,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=%d bytes, indata=%p\n",
+ "%s: insize=%d, expected=%zu bytes, indata=%p\n",
__func__, insize, sizeof(struct dfs_ioctl_params),
indata);
error = -EINVAL;
diff --git a/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c b/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c
index 09203a357999..bbdcf8d6d463 100644
--- a/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c
+++ b/CORE/SERVICES/DFS/src/dfs_phyerr_tlv.c
@@ -175,7 +175,7 @@ radar_summary_parse(struct ath_dfs *dfs, const char *buf, size_t len,
if (len < sizeof(rs)) {
DFS_DPRINTK(dfs, ATH_DEBUG_DFS_PHYERR |
ATH_DEBUG_DFS_PHYERR_SUM,
- "%s: len (%d) < expected (%d)!",
+ "%s: len (%d) < expected (%zu)!",
__func__,
len,
sizeof(rs));
@@ -223,7 +223,7 @@ radar_fft_search_report_parse(struct ath_dfs *dfs, const char *buf, size_t len,
if (len < sizeof(rs)) {
DFS_DPRINTK(dfs, ATH_DEBUG_DFS_PHYERR |
ATH_DEBUG_DFS_PHYERR_SUM,
- "%s: len (%d) < expected (%d)!",
+ "%s: len (%d) < expected (%zu)!",
__func__,
len,
sizeof(rs));
@@ -276,7 +276,7 @@ tlv_parse_frame(struct ath_dfs *dfs, struct rx_radar_status *rs,
bool false_detect = false;
DFS_DPRINTK(dfs, ATH_DEBUG_DFS_PHYERR,
- "%s: total length = %d bytes", __func__, len);
+ "%s: total length = %zu bytes", __func__, len);
while ((i < len ) && (false_detect == false)) {
/* Ensure we at least have four bytes */
if ((len - i) < sizeof(tlv_hdr)) {