The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ubi: Fix serious of resource leaking problems
@ 2024-04-11  3:18 Zhihao Cheng
  2024-04-11  3:19 ` [PATCH v2 1/4] ubi: ubi_init: Fix missed debugfs cleanup in error handling path Zhihao Cheng
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Zhihao Cheng @ 2024-04-11  3:18 UTC (permalink / raw)
  To: richard, miquel.raynal, ben.hutchings, daniel; +Cc: linux-mtd, linux-kernel

v1->v2:
  Combine Ben[1] and my[2] patches.
  Modify second patch in [1], don't drop warning message if debugfs
  failed to be initialized.
  Modify second patch in [2], move ubiblock_init to the end of ubi_init.
  Add new patch to replace IS_ERR_OR_NULL with IS_ERR.

[1] https://lore.kernel.org/linux-mtd/cover.1712788087.git.ben.hutchings@mind.be/
[2] https://lore.kernel.org/lkml/20240410074033.2523399-3-chengzhihao1@huawei.com/T/

Ben Hutchings (1):
  mtd: ubi: Ignore all debugfs initialisation failures

Zhihao Cheng (3):
  ubi: ubi_init: Fix missed debugfs cleanup in error handling path
  ubi: ubi_init: Fix missed ubiblock cleanup in error handling path
  ubi: debugfs: Replace IS_ERR_OR_NULL with IS_ERR in error checking
    path

 drivers/mtd/ubi/build.c | 61 ++++++++++++++++++++---------------------
 drivers/mtd/ubi/debug.c | 35 +++++++++--------------
 drivers/mtd/ubi/debug.h |  4 +--
 3 files changed, 44 insertions(+), 56 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-04-12  1:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-11  3:18 [PATCH v2 0/4] ubi: Fix serious of resource leaking problems Zhihao Cheng
2024-04-11  3:19 ` [PATCH v2 1/4] ubi: ubi_init: Fix missed debugfs cleanup in error handling path Zhihao Cheng
2024-04-11  3:19 ` [PATCH v2 2/4] ubi: ubi_init: Fix missed ubiblock " Zhihao Cheng
2024-04-11 15:48   ` Daniel Golle
2024-04-12  1:20     ` Zhihao Cheng
2024-04-11 16:43   ` Markus Elfring
2024-04-11  3:19 ` [PATCH v2 3/4] mtd: ubi: Ignore all debugfs initialisation failures Zhihao Cheng
2024-04-11  3:19 ` [PATCH v2 4/4] ubi: debugfs: Replace IS_ERR_OR_NULL with IS_ERR in error checking path Zhihao Cheng

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