]> Git Repo - linux.git/commit
checkpatch: improve k.alloc with multiplication and sizeof test
authorJoe Perches <[email protected]>
Mon, 8 May 2017 22:55:57 +0000 (15:55 -0700)
committerLinus Torvalds <[email protected]>
Tue, 9 May 2017 00:15:11 +0000 (17:15 -0700)
commit1b4a2ed4c8773524cc7890c4cd57d58b39c049eb
tree626671fa831a57cbf9f55653eba2284fe5343c45
parente882dbfc248cf28d6afd6fc6d8db8be58a824158
checkpatch: improve k.alloc with multiplication and sizeof test

Find multi-line uses of k.alloc by using the $stat variable and not the
$line variable.  This can still --fix only the single line variant
though.

Link: http://lkml.kernel.org/r/3f4b23d37cd4c7d8628eefc25afe83ba8fb3ab55.1493167076.git.joe@perches.com
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
scripts/checkpatch.pl
This page took 0.05159 seconds and 4 git commands to generate.