Re: [V2] bcma: Use bcma_debug and not pr_cont in MIPS driver
From: Kalle Valo
Date: Fri Oct 27 2017 - 04:02:14 EST
Joe Perches <joe@xxxxxxxxxxx> wrote:
> Commit 66cc04424960 ("bcma: use bcma_debug and pr_cont in MIPS driver")
> converted a printk(KERN_DEBUG to bcma_debug.
>
> bcma_debug is guarded by a #define DEBUG via pr_debug.
>
> This means that the bcma_debug will generally not be emitted
> but any pr_cont following the bcma_debug will be emitted.
>
> Correct this by removing the uses of pr_cont by using a temporary.
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
758f7e06063a bcma: Use bcma_debug and not pr_cont in MIPS driver
--
https://patchwork.kernel.org/patch/10016013/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches