]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lockdep: Use consistent printing primitives
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 4 May 2017 22:44:38 +0000 (15:44 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:36 +0000 (18:52 -0700)
commit681fbec881dea1848e9246d7d1ecb3b97f11026d
tree20b5fcdc6739b3790c718f846be284c15e9315e6
parent2464dd940e23bad227c387a40eec99f7aa02ed96
lockdep: Use consistent printing primitives

Commit a5dd63efda3d ("lockdep: Use "WARNING" tag on lockdep splats")
substituted pr_warn() for printk() in places called out by Dmitry Vyukov.
However, this resulted in an ugly mix of pr_warn() and printk().  This
commit therefore changes printk() to pr_warn() or pr_cont(), depending
on the absence or presence of KERN_CONT.  This is done in all functions
that had printk() changed to pr_warn() by the aforementioned commit.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/locking/lockdep.c