]> git.baikalelectronics.ru Git - kernel.git/commit
mm: convert some level-less printks to pr_*
authorMitchel Humpherys <mitchelh@codeaurora.org>
Fri, 6 Jun 2014 21:38:30 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:18 +0000 (16:08 -0700)
commit607f4339f31efe28c666e1aab3e0e7703bd1ce16
tree3b318e167b70e14d73278c213e3e5e4e89566773
parentc4b4989a0c98cf0dffb2857f9b3294b6fa630584
mm: convert some level-less printks to pr_*

printk is meant to be used with an associated log level.  There are some
instances of printk scattered around the mm code where the log level is
missing.  Add a log level and adhere to suggestions by
scripts/checkpatch.pl by moving to the pr_* macros.

Also add the typical pr_fmt definition so that print statements can be
easily traced back to the modules where they occur, correlated one with
another, etc.  This will require the removal of some (now redundant)
prefixes on a few print statements.

Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/bounce.c
mm/mempolicy.c
mm/mmap.c
mm/nommu.c
mm/vmscan.c