]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
wifi: ath12k: Fix devmem address prefix when logging
authorJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 23 May 2024 15:18:05 +0000 (08:18 -0700)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 28 May 2024 17:42:54 +0000 (20:42 +0300)
Currently when ath12k QMI logging is enabled, messages such as the
following can be logged:

ath12k_pci 0000:03:00.0: devmem [0] start ox113000 size 20480

Replace ox% with 0x% to get a proper hex address prefix:

ath12k_pci 0000:03:00.0: devmem [0] start 0x113000 size 20480

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240523-ox-v1-1-112ae7350059@quicinc.com
drivers/net/wireless/ath/ath12k/qmi.c

index f273cb93dedb8cebf01efef1fe2103977cf47c73..b93ce9f87f6129c0ed0cc6dbf79f7325004651a2 100644 (file)
@@ -2503,7 +2503,7 @@ static int ath12k_qmi_request_target_cap(struct ath12k_base *ab)
                        ab->qmi.dev_mem[i].size =
                                resp.dev_mem[i].size;
                        ath12k_dbg(ab, ATH12K_DBG_QMI,
-                                  "devmem [%d] start ox%llx size %llu\n", i,
+                                  "devmem [%d] start 0x%llx size %llu\n", i,
                                   ab->qmi.dev_mem[i].start,
                                   ab->qmi.dev_mem[i].size);
                }