Re: [PATCH v2 0/2] module: Fix memory deallocation on error path in move_module()

2025-06-30 Thread Daniel Gomez
From: Daniel Gomez On Wed, 18 Jun 2025 14:26:25 +0200, Petr Pavlu wrote: > The first patch is an actual fix. The second patch is a minor related > cleanup. > > Changes since v1 [1]: > - Initialize t to MOD_MEM_NUM_TYPES in move_module(), instead of assigning > the value later. > - Merge the d

[PATCH v2 0/2] module: Fix memory deallocation on error path in move_module()

2025-06-18 Thread Petr Pavlu
The first patch is an actual fix. The second patch is a minor related cleanup. Changes since v1 [1]: - Initialize t to MOD_MEM_NUM_TYPES in move_module(), instead of assigning the value later. - Merge the definitions of the variables i and ret in move_module(). [1] https://lore.kernel.org/linu