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

From: Linus Walleij
Date: Thu Aug 24 2023 - 05:06:16 EST


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?

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