]> 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)
commit1e382c16eed517c1f43a89de3e09cba298ccf109
tree7dec12471c55dbaa90c78ab67ea3e23788565cba
parentf78c514105b1092872f1602ae638588b8d956ef4
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