mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge branch 'master' into for-next
Sync with Linus' tree to be able to apply pending patches that are based on newer code already present upstream.
This commit is contained in:
commit
b7e9c223be
993 changed files with 34553 additions and 5899 deletions
|
|
@ -1943,6 +1943,11 @@ sub process {
|
|||
WARN("LINUX_VERSION_CODE should be avoided, code should be for the version to which it is merged\n" . $herecurr);
|
||||
}
|
||||
|
||||
# check for uses of printk_ratelimit
|
||||
if ($line =~ /\bprintk_ratelimit\s*\(/) {
|
||||
WARN("Prefer printk_ratelimited or pr_<level>_ratelimited to printk_ratelimit\n" . $herecurr);
|
||||
}
|
||||
|
||||
# printk should use KERN_* levels. Note that follow on printk's on the
|
||||
# same line do not need a level, so we use the current block context
|
||||
# to try and find and validate the current printk. In summary the current
|
||||
|
|
|
|||
Loading…
Reference in a new issue