[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220529153456.4183738-1-cgxu519@mykernel.net>
Date: Sun, 29 May 2022 23:34:50 +0800
From: Chengguang Xu <cgxu519@...ernel.net>
To: netdev@...r.kernel.org, linux-staging@...ts.linux.dev,
linux-scsi@...r.kernel.org, linux-samsung-soc@...r.kernel.org,
linux-media@...r.kernel.org
Cc: Chengguang Xu <cgxu519@...ernel.net>
Subject: [PATCH 0/6] fix a common error of while loop condition in error path
There is a common error of while loop condition which misses
the case '(--i) == 0' in error path. This patch series just
tries to fix it in several driver's code.
Note: I'm not specialist of specific drivers so just compile tested
for the fixes.
Chengguang Xu (6):
netlink: fix missing destruction of rhash table in error case
staging: vt6655: fix missing resource cleanup in error cases
scsi: ipr: fix missing/incorrect resource cleanup in error case
drm/exynos: fix missing resource cleanup in error case
scsi: pmcraid: fix missing resource cleanup in error case
media: platform: fix missing/incorrect resource cleanup in error case
drivers/gpu/drm/exynos/exynos_drm_gsc.c | 2 +-
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_pm.c | 3 +--
drivers/scsi/ipr.c | 4 ++--
drivers/scsi/pmcraid.c | 2 +-
drivers/staging/vt6655/device_main.c | 8 ++++----
net/netlink/af_netlink.c | 2 +-
6 files changed, 10 insertions(+), 11 deletions(-)
--
2.27.0
Powered by blists - more mailing lists