]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: rename variables to avoid confusion
authorJean Delvare <jdelvare@suse.de>
Fri, 8 Sep 2017 23:16:07 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 9 Sep 2017 01:26:50 +0000 (18:26 -0700)
commitd35369f70551c32c113ce172d501d0588af0cd79
treef3df2c38e37d943dbebec8e670dc208e7efc7e70
parente78ba432abdb0d24f3d39c1355ec0e2db487c429
checkpatch: rename variables to avoid confusion

The variable name "$msg_type" is sometimes used to set the message type,
and sometimes used to set the message level.  This works but is kind of
confusing.  Use "$msg_level" in the latter case instead, to make the code
clearer.

Link: http://lkml.kernel.org/r/20170902175345.175db33a@endymion
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl