]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm: nommu: refactor debug and warning prints
authorLeon Romanovsky <leon@leon.nu>
Wed, 24 Jun 2015 23:57:47 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 25 Jun 2015 00:49:44 +0000 (17:49 -0700)
commit22cc877b32202b6d82e580bc6b3b445531659d3e
tree96a41efd14dfa51ac3a735fde2705c2d8b16ee97
parent8809aa2d28d74111ff2f1928edaa4e9845c97a7d
mm: nommu: refactor debug and warning prints

kenter/kleave/kdebug are wrapper macros to print functions flow and debug
information.  This set was written before pr_devel() was introduced, so it
was controlled by "#if 0" construction.  It is questionable if anyone is
using them [1] now.

This patch removes these macros, converts numerous printk(KERN_WARNING,
...) to use general pr_warn(...) and removes debug print line from
validate_mmap_request() function.

Signed-off-by: Leon Romanovsky <leon@leon.nu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/nommu.c