Re: [PATCH v3] binder: Fix up Kconfig dependancy due to removal of .c code

From: Greg Kroah-Hartman

Date: Thu Sep 17 2026 - 05:42:58 EST


On Thu, Sep 17, 2026 at 09:09:03AM +0000, Carlos Llamas wrote:
> On Thu, Sep 17, 2026 at 09:46:44AM +0100, Greg Kroah-Hartman wrote:
> > When the .c binder code was removed, building the kernel if the rust
> > binder code was enabled, will cause the binder to not be built at all as
> > the option changed from .c to .rs which is probably not what the
> > original build wanted.
>
> The idea was to avoid silently dropping CONFIG_ANDROID_BINDER_IPC, but I
> hadn't thought about this use case you mention. I agree it's better to
> keep things explicit as _RUST.
>
> >
> > Fix this up by renaming the option back to the _RUST version. If in the
> > future, that suffix wants to be dropped, we can do so and then it will
> > be prompted for a choice again, but for this release cycle, it should
> > stay as-is.
> >
> > Fixes: binder: rm -f binder.c
> > Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > ---
>
> Worked for me, I found no regressions. Thanks!
>
> Tested-by: Carlos Llamas <cmllamas@xxxxxxxxxx>

Thanks for the testing, sorry it took 3 tries :)

greg k-h