diff options
author | Joe Perches <joe@perches.com> | 2013-02-04 14:28:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-05 20:38:48 +1100 |
commit | 326b1ffc136d944d403a2b44dc3abace2a4e10fd (patch) | |
tree | 8cc25f335929cce2fc6ba48257e52784eea63fb6 /samples | |
parent | 91c777d86752b00bb3a1d8efa3d8f7e1264f38a9 (diff) | |
download | lwn-326b1ffc136d944d403a2b44dc3abace2a4e10fd.tar.gz lwn-326b1ffc136d944d403a2b44dc3abace2a4e10fd.zip |
checkpatch: fix $Float creation of match variables
Commit 74349bccedb3 ("checkpatch: add support for floating point
constants") added an unnecessary match variable that caused tests that
used a $Constant or $LvalOrFunc to have one too many matches.
This causes problems with usleep_range, min/max and other extended
tests.
Avoid using match variables in $Float.
Avoid using match variables in $Assignment too.
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions