[PATCH i-g-t] lib/igt_kmod: stop using KMOD_REMOVE_FORCE, again

Lucas De Marchi lucas.demarchi at intel.com
Thu Dec 5 14:36:22 UTC 2024


On Wed, 30 Oct 2024 16:49:08 -0700, Lucas De Marchi wrote:
> Just like done in commit 93ad5b785ea0 ("lib/igt_kmod: stop using
> KMOD_REMOVE_FORCE"). From igt perspective, if a module can't be removed,
> forcing its removal is not the right thing to do: the test should just
> fail and be fixed.
> 
> If the kernel actually enforces KMOD_REMOVE_FORCE, then it would just
> taint and all tests get aborted. Lastly, our kernel config doesn't have
> CONFIG_MODULE_FORCE_UNLOAD set, so this is pointless for multiple times.
> 
> [...]

Applied, thanks for the review.

[1/1] lib/igt_kmod: stop using KMOD_REMOVE_FORCE, again
      commit: b0c59bb94e6c990589eb6825c1436ce412804dae

Best regards,
-- 
Lucas De Marchi <lucas.demarchi at intel.com>


More information about the igt-dev mailing list