]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: improve UNSPECIFIED_INT test for bare signed/unsigned uses
authorJoe Perches <joe@perches.com>
Tue, 15 Mar 2016 21:58:06 +0000 (14:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commite4e2bfb228b9f227774bf17cc6306187da3a47ee
tree9914f5a1ab10e67c978fe2323b3cab815d5dc198
parent8c729be8786fdc09b3fc75960e58fdb305183005
checkpatch: improve UNSPECIFIED_INT test for bare signed/unsigned uses

Improve the test to allow casts to (unsigned) or (signed) to be found
and fixed if desired.

Signed-off-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