]> 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)
commite4a6546544e3b5f5f2f34dda70cc875194f9e39b
treef3df2c38e37d943dbebec8e670dc208e7efc7e70
parent9e3e020502c8dcac8c4c1a1ada369308a22d50f1
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