]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: add support for floating point constants
authorJoe Perches <joe@perches.com>
Tue, 18 Dec 2012 00:02:05 +0000 (16:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:19 +0000 (17:15 -0800)
commit18b57e8b729220add4f0f8bbb5539e027fddc00f
tree7dec12471c55dbaa90c78ab67ea3e23788565cba
parent6197d463096bf970753caa1314eb1ffbaca09c41
checkpatch: add support for floating point constants

Even though the kernel doesn't support using floating point constants,
add a regex for them.

Support forms like: 0x123p1, 123e-1, 1.23, 1.5e23f

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl