diff options
| author | Joe Perches <[email protected]> | 2017-05-08 15:56:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-05-08 17:15:11 -0700 |
| commit | 74fd4f347bfc10c1b19a18d0760f220eed1b2023 (patch) | |
| tree | ee5580972183bd083a366a58552e41766a128f2a /tools/perf/scripts/python/bin | |
| parent | 75ad8c575a5ad105e2afc2051c68abceb9c65431 (diff) | |
checkpatch: improve the embedded function name test for patch contexts
The current test works only for a single patch context as it is done in
the foreach ($rawlines) loop that precedes the loop where the actual
$context_function variable is used.
Move the set of $context_function into the foreach (@lines) loop where
it is useful for each patch context.
Link: http://lkml.kernel.org/r/6c675a31c74fbfad4fc45b9f462303d60ca2a283.1493486091.git.joe@perches.com
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/bin')
0 files changed, 0 insertions, 0 deletions