diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-10-24 15:55:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-01-09 13:31:55 +0100 |
commit | cd27bbe8981044b2720965756a3919c450f72978 (patch) | |
tree | c8f26c85e52c89f629a4e5cf8c3cd6d68d559e75 /lib/fault-inject-usercopy.c | |
parent | c46547b4686e9099dbad1f6f8e29f65a0b2c461c (diff) | |
download | linux-cd27bbe8981044b2720965756a3919c450f72978.tar.gz linux-cd27bbe8981044b2720965756a3919c450f72978.tar.bz2 linux-cd27bbe8981044b2720965756a3919c450f72978.zip |
powerpc: Remove initialisation of readpos
[ Upstream commit 0f7f544af60a6082cfaa3ed4c8f4ca1a858807ee ]
While powerpc doesn't use the seq_buf readpos, it did explicitly
initialise it for no good reason.
Link: https://lore.kernel.org/linux-trace-kernel/20231024145600.739451-1-willy@infradead.org
Cc: Christoph Hellwig <hch@lst.de>
Cc: Justin Stitt <justinstitt@google.com>
Cc: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
Fixes: d0ed46b60396 ("tracing: Move readpos from seq_buf to trace_seq")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/fault-inject-usercopy.c')
0 files changed, 0 insertions, 0 deletions