diff options
| author | Joe Perches <[email protected]> | 2014-04-03 14:49:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-03 16:21:13 -0700 |
| commit | 9b0fa60d9be0a82bc9e49bdd2dcacdfe4d1d5192 (patch) | |
| tree | 6c3fa27f737a6a5221469ea0771da14b9fbdf2cd /tools/perf/scripts/python/netdev-times.py | |
| parent | 447432f32328dcd081ae5e23f27d2ffa19f2ecf8 (diff) | |
checkpatch: add test for char * arrays that could be static const
static const char* arrays create smaller text as each function call does
not have to populate the array.
Emit a warning when char *arrays aren't static const and the array is
not apparently global by being declared in the first column.
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions