]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: prefer ftrace over function entry/exit printks
authorJoe Perches <joe@perches.com>
Fri, 26 Feb 2021 01:21:50 +0000 (17:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 26 Feb 2021 17:41:04 +0000 (09:41 -0800)
commitdafe1c1d6ea310096f3e0219734dd2c6afb3a491
tree3e987f78e6ca7c87e6c5522806c50504d371c26c
parent55583074e3b230fa5577c3c73f6d0a68e1c069f3
checkpatch: prefer ftrace over function entry/exit printks

Prefer using ftrace over function entry/exit logging messages.

Warn with various function entry/exit only logging that only
use __func__ with or without descriptive decoration.

Link: https://lkml.kernel.org/r/47c01081533a417c99c9a80a4cd537f8c308503f.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl