diff options
author | Steven Rostedt (Google) <[email protected]> | 2024-05-15 01:05:58 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-05-15 01:28:42 -0400 |
commit | b9c6820f029abaabbc37646093866aa730ca0928 (patch) | |
tree | 76b9621d2790651e6b11a5923a88befb4c7fb14a /tools/perf/scripts/python/bin | |
parent | fe832be05a8eee5f1488cbcc2c562dd82d079fd6 (diff) |
ring-buffer: Add cast to unsigned long addr passed to virt_to_page()
The sub-buffer pages are held in an unsigned long array, and when it is
passed to virt_to_page() a cast is needed.
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lore.kernel.org/linux-trace-kernel/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Fixes: 117c39200d9d ("ring-buffer: Introducing ring-buffer mapping functions")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions