[PATCH] rust_binder: drop startup init log message

EXtremeExploit posted 1 patch 5 days, 11 hours ago
drivers/android/binder/rust_binder_main.rs | 2 --
1 file changed, 2 deletions(-)
[PATCH] rust_binder: drop startup init log message
Posted by EXtremeExploit 5 days, 11 hours ago
From: Pedro Montes Alcalde <pedro.montes.alcalde@gmail.com>

The "Loaded Rust Binder." message is logged during normal
initialization and does not indicate an error/warning condition.

Logging it creates unnecessary noise and is inconsistent
with other drivers, so this change fixes that

Signed-off-by: Pedro Montes Alcalde <pedro.montes.alcalde@gmail.com>
---
This time i have SMTP setup with git, so hopefully there arent any formatting issues
 drivers/android/binder/rust_binder_main.rs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/android/binder/rust_binder_main.rs b/drivers/android/binder/rust_binder_main.rs
index aa5f2a75adb4..dccb7ba3ffc0 100644
--- a/drivers/android/binder/rust_binder_main.rs
+++ b/drivers/android/binder/rust_binder_main.rs
@@ -292,8 +292,6 @@ fn init(_module: &'static kernel::ThisModule) -> Result<Self> {
         // SAFETY: The module initializer never runs twice, so we only call this once.
         unsafe { crate::context::CONTEXTS.init() };
 
-        pr_warn!("Loaded Rust Binder.");
-
         BINDER_SHRINKER.register(c"android-binder")?;
 
         // SAFETY: The module is being loaded, so we can initialize binderfs.
-- 
2.53.0
Re: [PATCH] rust_binder: drop startup init log message
Posted by Alice Ryhl 3 days, 4 hours ago
On Fri, Mar 27, 2026 at 10:02:51PM -0300, EXtremeExploit wrote:
> From: Pedro Montes Alcalde <pedro.montes.alcalde@gmail.com>
> 
> The "Loaded Rust Binder." message is logged during normal
> initialization and does not indicate an error/warning condition.
> 
> Logging it creates unnecessary noise and is inconsistent
> with other drivers, so this change fixes that
> 
> Signed-off-by: Pedro Montes Alcalde <pedro.montes.alcalde@gmail.com>

Acked-by: Alice Ryhl <aliceryhl@google.com>
Re: [PATCH] rust_binder: drop startup init log message
Posted by Carlos Llamas 4 days, 19 hours ago
On Fri, Mar 27, 2026 at 10:02:51PM -0300, EXtremeExploit wrote:
> From: Pedro Montes Alcalde <pedro.montes.alcalde@gmail.com>
> 
> The "Loaded Rust Binder." message is logged during normal
> initialization and does not indicate an error/warning condition.
> 
> Logging it creates unnecessary noise and is inconsistent
> with other drivers, so this change fixes that
> 
> Signed-off-by: Pedro Montes Alcalde <pedro.montes.alcalde@gmail.com>
> ---
> This time i have SMTP setup with git, so hopefully there arent any formatting issues

Yeap, this is good now. Thanks.

>  drivers/android/binder/rust_binder_main.rs | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/android/binder/rust_binder_main.rs b/drivers/android/binder/rust_binder_main.rs
> index aa5f2a75adb4..dccb7ba3ffc0 100644
> --- a/drivers/android/binder/rust_binder_main.rs
> +++ b/drivers/android/binder/rust_binder_main.rs
> @@ -292,8 +292,6 @@ fn init(_module: &'static kernel::ThisModule) -> Result<Self> {
>          // SAFETY: The module initializer never runs twice, so we only call this once.
>          unsafe { crate::context::CONTEXTS.init() };
>  
> -        pr_warn!("Loaded Rust Binder.");
> -
>          BINDER_SHRINKER.register(c"android-binder")?;
>  
>          // SAFETY: The module is being loaded, so we can initialize binderfs.
> -- 
> 2.53.0
> 

Acked-by: Carlos Llamas <cmllamas@google.com>