]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
bcma: Use bcma_debug and not pr_cont in MIPS driver
authorJoe Perches <joe@perches.com>
Thu, 19 Oct 2017 05:45:27 +0000 (22:45 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 27 Oct 2017 08:01:37 +0000 (11:01 +0300)
commit758f7e06063a87b67c118794a3ba8931cced67c6
tree96517ba4b6086ff485fb4dc83e2d064a41fb530b
parentad1987d673920dd136006b56c9f3e4ab829356fe
bcma: Use bcma_debug and not pr_cont in MIPS driver

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@perches.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/driver_mips.c