Re: [PATCH] rust_binder: drop startup init log message
From: Carlos Llamas
Date: Sat Mar 28 2026 - 12:44:11 EST
On Fri, Mar 27, 2026 at 10:02:51PM -0300, EXtremeExploit wrote:
> From: Pedro Montes Alcalde <pedro.montes.alcalde@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> ---
> 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@xxxxxxxxxx>