]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit207a8e8465f91dc5ab12151ee36db3d509a4928a
tree9914f5a1ab10e67c978fe2323b3cab815d5dc198
parenta1ce18e4f941d2039aa3bdeee17db968919eac2f
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