Re: [libgpiod v1.6.x][PATCH] tests: mockup: unbind mockup devices before unloading the module

From: Bartosz Golaszewski
Date: Thu Aug 24 2023 - 05:42:20 EST


On Thu, Aug 24, 2023 at 11:05 AM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>
> On Thu, Aug 24, 2023 at 9:40 AM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> > Kent:
> > > If the plan is to change the kernel such that it will no longer unload
> > > modules with bound devices then the patch totally makes sense.
> >
> > Linus has not commented on that yet
>
> [Fear Of Missing Out intensifies]
>
> Is this some mail thread I should look at but didn't?
>

I was talking about this one:
https://lore.kernel.org/lkml/20230818190108.22031-1-brgl@xxxxxxxx/T/

Bart

> Or do you refer to Torvalds?
>
> > and there's a thing I need to
> > check first (hopefully today) but I think it will make more sense.
> > This patch on the other hand is not incorrect even if the behavior
> > doesn't change. I will queue it.
>
> This patch is doing the right thing from a module management point
> of view for sure.
>
> Yours,
> Linus Walleij