mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2]  bus: fsl-mc: Fix two double free problems in fsl_mc_device_add()
@ 2024-11-15  2:32 Su Hui
  2024-11-15  2:32 ` [PATCH v2 1/2] bus: fsl-mc: Fix the double free " Su Hui
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Su Hui @ 2024-11-15  2:32 UTC (permalink / raw)
  To: stuyoder, laurentiu.tudor, nathan, ndesaulniers, morbo,
	justinstitt, dan.carpenter
  Cc: Su Hui, gregkh, linux-kernel, llvm, kernel-janitors

This patchset fixes two double free problems in fsl_mc_device_add().
One is reported by clang static checker, another is reported by Dan when
reviewing the code.

ps: There is only patch 1 in v1 patch, patch 2 has no v1 version.

v1: https://lore.kernel.org/all/20241114082751.3475110-1-suhui@nfschina.com/

Su Hui (2):
  bus: fsl-mc:  Fix the double free in fsl_mc_device_add()
  bus: fsl-mc: using put_device() when add_device() failed in
    fsl_mc_device_add()

 drivers/bus/fsl-mc/fsl-mc-bus.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2024-11-15  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-15  2:32 [PATCH v2 0/2] bus: fsl-mc: Fix two double free problems in fsl_mc_device_add() Su Hui
2024-11-15  2:32 ` [PATCH v2 1/2] bus: fsl-mc: Fix the double free " Su Hui
2024-11-15  2:32 ` [PATCH v2 2/2] bus: fsl-mc: using put_device() when add_device() failed " Su Hui
2024-11-15  8:24 ` [PATCH v2 0/2] bus: fsl-mc: Fix two double free problems " Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®