diff options
author | Joe Perches <[email protected]> | 2018-08-21 21:57:50 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-08-22 10:52:48 -0700 |
commit | 4cab63cea374c684eb0db352b40a09e3f7c45057 (patch) | |
tree | a6b088095c1b9388cd2142b9a62691f4d533737b /tools/perf/scripts/python/stackcollapse.py | |
parent | 3b6e8ac9e740b71b07df4a1e89ba5841686d8e9f (diff) |
checkpatch: fix krealloc reuse test
The current krealloc test does not function correctly when the temporary
pointer return name contains the original pointer name.
Fix that by maximally matching the return pointer name and the original
pointer name and doing a separate comparison of the both names.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Joe Perches <[email protected]>
Reported-by: Lars-Peter Clausen <[email protected]>
Cc: Manish Narani <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions