diff options
author | 2012-01-10 15:09:57 -0800 | |
---|---|---|
committer | 2012-01-10 16:30:50 -0800 | |
commit | 554e165cf32610ec9596a183fa1b54a5707fc3cb (patch) | |
tree | 027354f186b71c033929a5ecf8df80f131c9ce7b /crypto/api.c | |
parent | checkpatch: correctly track the end of preprocessor commands in context (diff) | |
download | wireguard-linux-554e165cf32610ec9596a183fa1b54a5707fc3cb.tar.xz wireguard-linux-554e165cf32610ec9596a183fa1b54a5707fc3cb.zip |
checkpatch: check for common memset parameter issues against statments
Move the memset checks over to work against the statement. Also add
checks for 0 and 1 used as lengths. Generally these indicate badly
ordered parameters.
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions