lkml.org 
[lkml]   [2024]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] wifi: ath12k: don't use %pK in dmesg format strings
From
Date
Jeff Johnson <quic_jjohnson@quicinc.com> wrote:

> Currently, when debug logs are enabled, messages such as the following
> are found in the kernel log:
>
> event mgmt rx skb pK-error len 209 ftype 00 stype 50
>
> The "pK-error" comes from using %pK to display an skb address in an
> interrupt context.
>
> Per the guidance in the current "printk-formats" documentation, %pK
> "is only intended when producing content of a file read by userspace
> from e.g. procfs or sysfs, not for dmesg."
>
> So replace %pK with %p in all of the ath12k_dbg() format strings.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

2372c6d28032 wifi: ath12k: don't use %pK in dmesg format strings

--
https://patchwork.kernel.org/project/linux-wireless/patch/20240416-pk-v1-1-2c8852743e6d@quicinc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


\
 
 \ /
  Last update: 2024-05-27 16:46    [W:0.024 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site