All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] module: Fix memory deallocation on error path in move_module()
@ 2025-06-18 12:26 Petr Pavlu
  2025-06-18 12:26 ` [PATCH v2 1/2] " Petr Pavlu
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Petr Pavlu @ 2025-06-18 12:26 UTC (permalink / raw)
  To: Luis Chamberlain, Petr Pavlu, Sami Tolvanen, Daniel Gomez
  Cc: linux-modules, linux-kernel

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/linux-modules/20250607161823.409691-1-petr.pavlu@suse.com/

Petr Pavlu (2):
  module: Fix memory deallocation on error path in move_module()
  module: Avoid unnecessary return value initialization in move_module()

 kernel/module/main.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)


base-commit: 52da431bf03b5506203bca27fe14a97895c80faf
-- 
2.49.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-06-30 13:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 12:26 [PATCH v2 0/2] module: Fix memory deallocation on error path in move_module() Petr Pavlu
2025-06-18 12:26 ` [PATCH v2 1/2] " Petr Pavlu
2025-06-18 14:02   ` Daniel Gomez
2025-06-30 12:09   ` Daniel Gomez
2025-06-18 12:26 ` [PATCH v2 2/2] module: Avoid unnecessary return value initialization " Petr Pavlu
2025-06-18 14:02   ` Daniel Gomez
2025-06-30 13:57 ` [PATCH v2 0/2] module: Fix memory deallocation on error path " Daniel Gomez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.