commit | 74349bccedb3e34b4f1fd9c7efd2dda7905e3335 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon Dec 17 16:02:05 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 17 17:15:19 2012 -0800 |
tree | 7dec12471c55dbaa90c78ab67ea3e23788565cba | |
parent | 6b7eaf6e1428be33f731287de963862e3846cd42 [diff] |
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>