Re: [PATCH] mwifiex: print PCI mmap with %pK
From: Kalle Valo
Date: Tue Jun 25 2019 - 00:46:55 EST
Brian Norris <briannorris@xxxxxxxxxxxx> wrote:
> Unadorned '%p' has restrictive policies these days, such that it usually
> just prints garbage at early boot (see
> Documentation/core-api/printk-formats.rst, "kernel will print
> ``(ptrval)`` until it gathers enough entropy"). Annotating with %pK
> (for "kernel pointer") allows the kptr_restrict sysctl to control
> printing policy better.
>
> We might just as well drop this message entirely, but this fix was easy
> enough for now.
>
> Signed-off-by: Brian Norris <briannorris@xxxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
2fc0aa454473 mwifiex: print PCI mmap with %pK
--
https://patchwork.kernel.org/patch/10975827/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches