From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Vlastimil Babka <vbabka@suse.cz>, Christian Brauner <brauner@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: linux-next: duplicate patches in the slab tree
Date: Mon, 9 Sep 2024 18:10:35 +1000 [thread overview]
Message-ID: <20240909181035.4ffd7434@canb.auug.org.au> (raw)
In-Reply-To: <20240909171220.32e862e3@canb.auug.org.au>
[-- Attachment #1: Type: text/plain, Size: 2949 bytes --]
Hi all,
On Mon, 9 Sep 2024 17:12:20 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> The following commits are also in the vfs-brauner tree as different
> commits (but the same patches):
>
> c0390d541128 ("fs: pack struct file")
> ea566e18b4de ("fs: use kmem_cache_create_rcu()")
> d345bd2e9834 ("mm: add kmem_cache_create_rcu()")
> e446f18e98e8 ("mm: remove unused argument from create_cache()")
> 0f389adb4b80 ("mm: Removed @freeptr_offset to prevent doc warning")
>
> These are commits
>
> f2b8943e64a8 ("fs: pack struct file")
> d1e381aa30cb ("fs: use kmem_cache_create_rcu()")
> ba8108d69e5b ("mm: add kmem_cache_create_rcu()")
> a85ba9858175 ("mm: remove unused argument from create_cache()")
> 6e016babce7c ("mm: Removed @freeptr_offset to prevent doc warning")
>
> in the vfs-brauner tree.
>
> These duplicates are causing unnecessary comflicts ...
So, maybe my merge resolutions were not sufficient, because that then
failed to build (powerpc ppc64_defconfig):
mm/slab_common.c: In function 'create_cache':
mm/slab_common.c:238:13: error: 'freeptr_offset' undeclared (first use in this function); did you mean 'freeptr_t'?
238 | if (freeptr_offset != UINT_MAX &&
| ^~~~~~~~~~~~~~
| freeptr_t
mm/slab_common.c:238:13: note: each undeclared identifier is reported only once for each function it appears in
mm/slab_common.c: At top level:
mm/slab_common.c:389:20: warning: no previous prototype for 'kmem_cache_create_rcu' [-Wmissing-prototypes]
389 | struct kmem_cache *kmem_cache_create_rcu(const char *name, unsigned int size,
| ^~~~~~~~~~~~~~~~~~~~~
mm/slab_common.c: In function 'kmem_cache_create_rcu':
mm/slab_common.c:393:16: error: implicit declaration of function 'do_kmem_cache_create_usercopy'; did you mean 'kmem_cache_create_usercopy'? [-Wimplicit-function-declaration]
393 | return do_kmem_cache_create_usercopy(name, size, freeptr_offset, 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kmem_cache_create_usercopy
mm/slab_common.c:393:16: error: returning 'int' from a function with return type 'struct kmem_cache *' makes pointer from integer without a cast [-Wint-conversion]
393 | return do_kmem_cache_create_usercopy(name, size, freeptr_offset, 0,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
394 | flags | SLAB_TYPESAFE_BY_RCU, 0, 0,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
395 | NULL);
| ~~~~~
So I used the slab tree from next-20240906 for today in the hope that
the duplications will be taken care of and the whole things becomes
clearer.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2024-09-09 8:10 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-09 7:12 linux-next: duplicate patches in the slab tree Stephen Rothwell
2024-09-09 7:18 ` Vlastimil Babka
2024-09-09 9:16 ` Christian Brauner
2024-09-09 9:40 ` Vlastimil Babka
2024-09-09 10:13 ` Christian Brauner
2024-09-09 10:35 ` Vlastimil Babka
2024-09-09 10:42 ` Christian Brauner
2024-09-09 11:02 ` Christian Brauner
2024-09-09 11:45 ` Stephen Rothwell
2024-09-09 12:19 ` Christian Brauner
2024-09-09 12:37 ` Christian Brauner
2024-09-09 13:44 ` Stephen Rothwell
2024-09-09 12:09 ` Vlastimil Babka
2024-09-09 12:18 ` Christian Brauner
2024-09-09 13:11 ` Konstantin Ryabitsev
2024-09-09 8:10 ` Stephen Rothwell [this message]
2024-09-09 8:32 ` Vlastimil Babka
2024-09-09 8:49 ` Vlastimil Babka
2024-09-09 9:33 ` Stephen Rothwell
2024-09-09 9:28 ` Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240909181035.4ffd7434@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=brauner@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox