diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-15 02:05:38 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-15 03:04:08 +0300 |
| commit | 9a29d0fbc2d9ad99fb8a981ab72548cc360e9d4c (patch) | |
| tree | 1d5030971bc9ec95e2b388cc239530d9e8695933 /tools/perf/scripts/python/syscall-counts.py | |
| parent | bd4171a5d4c2827f4ae7a235389648d7c149a41b (diff) | |
| download | linux-9a29d0fbc2d9ad99fb8a981ab72548cc360e9d4c.tar.xz | |
relay: check array offset before using it
Smatch complains that we started using the array offset before we
checked that it was valid.
Fixes: 017c59c042d0 ('relay: Use per CPU constructs for the relay channel buffer pointers')
Link: http://lkml.kernel.org/r/20161013084947.GC16198@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
