aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorWei Yang <[email protected]>2019-11-30 17:50:37 -0800
committerLinus Torvalds <[email protected]>2019-12-01 06:29:18 -0800
commit408a60eddd206134fd306dfbc53bbde093b8deb0 (patch)
tree9eada5a1b30300eda5723a7dc7a40e246bee4f36 /tools/perf/scripts
parente4dcad204d3a281be6f8573e0a82648a4ad84e69 (diff)
mm/mmap.c: remove a never-triggered warning in __vma_adjust()
The upper level of "if" makes sure (end >= next->vm_end), which means there are only two possibilities: 1) end == next->vm_end 2) end > next->vm_end remove_next is assigned to be (1 + end > next->vm_end). This means if remove_next is 1, end must equal to next->vm_end. The VM_WARN_ON will never trigger. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Wei Yang <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Yang Shi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions