* linux-next: manual merge of the kbuild tree with the mm-nonmm-unstable tree
@ 2026-09-30 11:47 Mark Brown
2026-09-30 12:23 ` Lorenzo Stoakes (ARM)
0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2026-09-30 11:47 UTC (permalink / raw)
To: Nathan Chancellor, Nicolas Schier, KBuild Mailing List
Cc: Andrew Morton, Jim Cromie, Linux Kernel Mailing List,
Linux Next Mailing List, Lorenzo Stoakes
[-- Attachment #1: Type: text/plain, Size: 1656 bytes --]
Hi all,
Today's linux-next merge of the kbuild tree got a conflict in:
scripts/kallsyms.c
between commit:
edd7005a42d42 ("kallsyms: increase marker density to 16:1 to accelerate lookups")
from the mm-nonmm-unstable tree and commit:
531980b4b17e9 ("kallsyms: reimplement mksysmap in C")
from the kbuild 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.
diff --cc scripts/kallsyms.c
index be42a91113500,ecb444078c1ca..0000000000000
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@@ -26,12 -33,10 +33,11 @@@
#include <string.h>
#include <ctype.h>
#include <limits.h>
-
+ #include <sys/stat.h>
#include <xalloc.h>
+#include "../kernel/kallsyms_internal.h"
-
- #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof(arr[0]))
+ #include "kallsyms.h"
#define KSYM_NAME_LEN 512
@@@ -359,10 -412,11 +415,11 @@@ static void write_src(FILE *out_bin_fil
markers = xmalloc(sizeof(*markers) * markers_cnt);
output_label("kallsyms_names");
+ bin_start = bin_pos(out_bin_file);
off = 0;
for (i = 0; i < table_cnt; i++) {
- if ((i & 0xFF) == 0)
- markers[i >> 8] = off;
+ if ((i & KALLSYMS_MARKER_MASK) == 0)
+ markers[i >> KALLSYMS_MARKER_SHIFT] = off;
table[i]->seq = i;
/* There cannot be any symbol of length zero. */
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: linux-next: manual merge of the kbuild tree with the mm-nonmm-unstable tree
2026-09-30 11:47 linux-next: manual merge of the kbuild tree with the mm-nonmm-unstable tree Mark Brown
@ 2026-09-30 12:23 ` Lorenzo Stoakes (ARM)
0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Stoakes (ARM) @ 2026-09-30 12:23 UTC (permalink / raw)
To: Mark Brown
Cc: Nathan Chancellor, Nicolas Schier, KBuild Mailing List,
Andrew Morton, Jim Cromie, Linux Kernel Mailing List,
Linux Next Mailing List
On Wed, Sep 30, 2026 at 12:47:13PM +0100, Mark Brown wrote:
> Hi all,
>
> Today's linux-next merge of the kbuild tree got a conflict in:
>
> scripts/kallsyms.c
>
> between commit:
>
> edd7005a42d42 ("kallsyms: increase marker density to 16:1 to accelerate lookups")
>
> from the mm-nonmm-unstable tree and commit:
>
> 531980b4b17e9 ("kallsyms: reimplement mksysmap in C")
>
> from the kbuild 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.
Looks correct to me, thanks!
--
Cheers, Lorenzo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-30 12:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30 11:47 linux-next: manual merge of the kbuild tree with the mm-nonmm-unstable tree Mark Brown
2026-09-30 12:23 ` Lorenzo Stoakes (ARM)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®