public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the rust tree with the modules tree
@ 2025-11-03 23:55 Stephen Rothwell
  2025-11-03 23:59 ` Miguel Ojeda
  2025-12-05  2:31 ` Stephen Rothwell
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Rothwell @ 2025-11-03 23:55 UTC (permalink / raw)
  To: Miguel Ojeda, Luis Chamberlain, Petr Pavlu, Sami Tolvanen,
	Daniel Gomez
  Cc: Andreas Hindborg, Daniel Gomez, Linux Kernel Mailing List,
	Linux Next Mailing List, Tamir Duberstein

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

Hi all,

Today's linux-next merge of the rust tree got a conflict in:

  rust/kernel/str.rs

between commit:

  51d9ee90ea90 ("rust: str: add radix prefixed integer parsing functions")

from the modules tree and commit:

  3b83f5d5e78a ("rust: replace `CStr` with `core::ffi::CStr`")

from the rust 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 rust/kernel/str.rs
index a1a3581eb546,7593d758fbb7..000000000000
--- a/rust/kernel/str.rs
+++ b/rust/kernel/str.rs
@@@ -10,11 -10,11 +10,13 @@@ use crate::
  };
  use core::{
      marker::PhantomData,
-     ops::{self, Deref, DerefMut, Index},
+     ops::{Deref, DerefMut, Index},
  };
  
+ pub use crate::prelude::CStr;
+ 
 +pub mod parse_int;
 +
  /// Byte string without UTF-8 validity guarantee.
  #[repr(transparent)]
  pub struct BStr([u8]);

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the rust tree with the modules tree
  2025-11-03 23:55 linux-next: manual merge of the rust tree with the modules tree Stephen Rothwell
@ 2025-11-03 23:59 ` Miguel Ojeda
  2025-11-04  8:52   ` Daniel Gomez
  2025-12-05  2:31 ` Stephen Rothwell
  1 sibling, 1 reply; 4+ messages in thread
From: Miguel Ojeda @ 2025-11-03 23:59 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Miguel Ojeda, Luis Chamberlain, Petr Pavlu, Sami Tolvanen,
	Daniel Gomez, Andreas Hindborg, Daniel Gomez,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Tamir Duberstein

On Tue, Nov 4, 2025 at 12:55 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the rust tree got a conflict in:
>
>   rust/kernel/str.rs
>
> between commit:
>
>   51d9ee90ea90 ("rust: str: add radix prefixed integer parsing functions")
>
> from the modules tree and commit:
>
>   3b83f5d5e78a ("rust: replace `CStr` with `core::ffi::CStr`")
>
> from the rust tree.
>
> I fixed it up (see below) and can carry the fix as necessary. This

Looks good, thanks!

Cheers,
Miguel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the rust tree with the modules tree
  2025-11-03 23:59 ` Miguel Ojeda
@ 2025-11-04  8:52   ` Daniel Gomez
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Gomez @ 2025-11-04  8:52 UTC (permalink / raw)
  To: Miguel Ojeda, Stephen Rothwell
  Cc: Miguel Ojeda, Luis Chamberlain, Petr Pavlu, Sami Tolvanen,
	Daniel Gomez, Andreas Hindborg, Linux Kernel Mailing List,
	Linux Next Mailing List, Tamir Duberstein



On 04/11/2025 00.59, Miguel Ojeda wrote:
> On Tue, Nov 4, 2025 at 12:55 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>>
>> Today's linux-next merge of the rust tree got a conflict in:
>>
>>   rust/kernel/str.rs
>>
>> between commit:
>>
>>   51d9ee90ea90 ("rust: str: add radix prefixed integer parsing functions")
>>
>> from the modules tree and commit:
>>
>>   3b83f5d5e78a ("rust: replace `CStr` with `core::ffi::CStr`")
>>
>> from the rust tree.
>>
>> I fixed it up (see below) and can carry the fix as necessary. This
> 
> Looks good, thanks!
> 
> Cheers,
> Miguel

Yes, looks good to me as weel. Thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: manual merge of the rust tree with the modules tree
  2025-11-03 23:55 linux-next: manual merge of the rust tree with the modules tree Stephen Rothwell
  2025-11-03 23:59 ` Miguel Ojeda
@ 2025-12-05  2:31 ` Stephen Rothwell
  1 sibling, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2025-12-05  2:31 UTC (permalink / raw)
  To: Luis Chamberlain, Petr Pavlu, Sami Tolvanen, Daniel Gomez
  Cc: Miguel Ojeda, Andreas Hindborg, Daniel Gomez,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Tamir Duberstein

[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]

Hi all,

On Tue, 4 Nov 2025 10:55:16 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the rust tree got a conflict in:
> 
>   rust/kernel/str.rs
> 
> between commit:
> 
>   51d9ee90ea90 ("rust: str: add radix prefixed integer parsing functions")
> 
> from the modules tree and commit:
> 
>   3b83f5d5e78a ("rust: replace `CStr` with `core::ffi::CStr`")
> 
> from the rust 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 rust/kernel/str.rs
> index a1a3581eb546,7593d758fbb7..000000000000
> --- a/rust/kernel/str.rs
> +++ b/rust/kernel/str.rs
> @@@ -10,11 -10,11 +10,13 @@@ use crate::
>   };
>   use core::{
>       marker::PhantomData,
> -     ops::{self, Deref, DerefMut, Index},
> +     ops::{Deref, DerefMut, Index},
>   };
>   
> + pub use crate::prelude::CStr;
> + 
>  +pub mod parse_int;
>  +
>   /// Byte string without UTF-8 validity guarantee.
>   #[repr(transparent)]
>   pub struct BStr([u8]);

This is now a conflict between the modules tree and Linus' tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-12-05  2:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-03 23:55 linux-next: manual merge of the rust tree with the modules tree Stephen Rothwell
2025-11-03 23:59 ` Miguel Ojeda
2025-11-04  8:52   ` Daniel Gomez
2025-12-05  2:31 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox