aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2021-05-06 18:03:37 -0700
committerLinus Torvalds <[email protected]>2021-05-06 19:24:12 -0700
commite18baa7cc3598999317d6c2fe255756f6b3b7562 (patch)
tree8384513fa290cba884373e3963ae79abe4735029 /tools/perf/scripts/python/event_analyzing_sample.py
parentade29d4fdbe675d72ee6115baaf3b3382942fd12 (diff)
lib: crc8: pointer to data block should be const
crc8() does not change the data passed to it, so the pointer argument should be declared const. This avoids callers that receive const data having to cast it to a non-const pointer to call crc8(). Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Richard Fitzgerald <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions