[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241115023206.3722933-1-suhui@nfschina.com>
Date: Fri, 15 Nov 2024 10:32:05 +0800
From: Su Hui <suhui@...china.com>
To: stuyoder@...il.com,
laurentiu.tudor@....com,
nathan@...nel.org,
ndesaulniers@...gle.com,
morbo@...gle.com,
justinstitt@...gle.com,
dan.carpenter@...aro.org
Cc: Su Hui <suhui@...china.com>,
gregkh@...uxfoundation.org,
linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev,
kernel-janitors@...r.kernel.org
Subject: [PATCH v2 0/2] bus: fsl-mc: Fix two double free problems in fsl_mc_device_add()
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
Powered by blists - more mailing lists