diff options
author | Joe Perches <joe@perches.com> | 2010-10-26 14:23:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 16:52:21 -0700 |
commit | cb710eca6820493add0ddd3d7e8e3ee53f2b6e57 (patch) | |
tree | 752ca452a0d2fa3f9cb085c4f4e050a5e657f5f5 /fs/ntfs/aops.c | |
parent | 267ad8f42644c2fa4ff6c2e7596d2b02c7397c85 (diff) | |
download | linux-3.10-cb710eca6820493add0ddd3d7e8e3ee53f2b6e57.tar.gz linux-3.10-cb710eca6820493add0ddd3d7e8e3ee53f2b6e57.tar.bz2 linux-3.10-cb710eca6820493add0ddd3d7e8e3ee53f2b6e57.zip |
scripts/checkpatch.pl: add warnings for static char that could be static const char
Add warnings for possible missing const uses of
static char foo[] = "bar"
that could be
static const char foo[] = "bar"
and
static const char *foo[] = {"bar", "baz"}
that could be
static const char * const foo[] = {"bar", "baz"}
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Mike Frysinger <vapier.adi@gmail.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 'fs/ntfs/aops.c')
0 files changed, 0 insertions, 0 deletions