[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20221114105249.4548adbc@canb.auug.org.au>
Date: Mon, 14 Nov 2022 10:52:49 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Luis Chamberlain <mcgrof@...nel.org>,
David Miller <davem@...emloft.net>
Cc: Networking <netdev@...r.kernel.org>,
Alexei Starovoitov <ast@...nel.org>,
Jiri Olsa <jolsa@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>,
Zhen Lei <thunder.leizhen@...wei.com>
Subject: linux-next: manual merge of the modules tree with the net-next tree
Hi all,
Today's linux-next merge of the modules tree got a conflict in:
kernel/trace/ftrace.c
between commit:
3640bf8584f4 ("ftrace: Add support to resolve module symbols in ftrace_lookup_symbols")
from the net-next tree and commit:
477f7e48d4f4 ("kallsyms: Delete an unused parameter related to kallsyms_on_each_symbol()")
from the modules tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc kernel/trace/ftrace.c
index 705b990d264d,7a06991624d4..000000000000
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@@ -8257,12 -8257,7 +8257,11 @@@ struct kallsyms_data
size_t found;
};
+/* This function gets called for all kernel and module symbols
+ * and returns 1 in case we resolved all the requested symbols,
+ * 0 otherwise.
+ */
- static int kallsyms_callback(void *data, const char *name,
- struct module *mod, unsigned long addr)
+ static int kallsyms_callback(void *data, const char *name, unsigned long addr)
{
struct kallsyms_data *args = data;
const char **sym;
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists