Re: [PATCH 1/2] module: Put known GPL offenders in an array

From: Greg KH
Date: Thu Nov 14 2024 - 23:41:08 EST


On Thu, Nov 14, 2024 at 11:31:33AM +0100, Uwe Kleine-König wrote:
> Instead of repeating the add_taint_module() call for each offender, create
> an array and loop over that one. This simplifies adding new entries
> considerably.
>
> Signed-off-by: Uwe Kleine-König <ukleinek@xxxxxxxxxx>
> ---
> kernel/module/main.c | 23 ++++++++++++++---------
> 1 file changed, 14 insertions(+), 9 deletions(-)

Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>