]> 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)
commit3c5f390d6199d25b507cd46a05feb35959b2fe0f
tree3b318e167b70e14d73278c213e3e5e4e89566773
parentbbbecbe23eb1c57b5e69264f118837c070eaf0dc
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