summaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2024-05-15 07:05:58 +0200
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-05-15 07:28:42 +0200
commitb9c6820f029abaabbc37646093866aa730ca0928 (patch)
tree76b9621d2790651e6b11a5923a88befb4c7fb14a /kernel/sys.c
parentring-buffer: Have mmapped ring buffer keep track of missed events (diff)
downloadlinux-b9c6820f029abaabbc37646093866aa730ca0928.tar.xz
linux-b9c6820f029abaabbc37646093866aa730ca0928.zip
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/20240515124808.06279d04@canb.auug.org.au/ Link: https://lore.kernel.org/linux-trace-kernel/20240515010558.4abaefdd@rorschach.local.home Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Fixes: 117c39200d9d ("ring-buffer: Introducing ring-buffer mapping functions") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions