All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] remove dead NULL checks after GFP_NOFAIL allocations
@ 2026-07-23  8:18 Gou Hao
  2026-07-23  8:18 ` [PATCH 1/4] powerpc/xive: remove dead NULL check after GFP_NOFAIL allocation Gou Hao
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Gou Hao @ 2026-07-23  8:18 UTC (permalink / raw)
  To: maddy, mpe, npiggin, chleroy, maarten.lankhorst, mripard,
	tzimmermann, airlied, simona, bharat, jgg, leon, akpm, ynorov,
	namcao, mkchauras, sshegde, nilay, kees
  Cc: linuxppc-dev, linux-kernel, dri-devel, linux-rdma, linux-mm,
	gouhaojake, kernel

This is a code cleanup series that removes unreachable
NULL checks (and associated error handling) that follow allocations
using __GFP_NOFAIL, which guarantees non-NULL return.

Gou Hao (4):
  powerpc/xive: remove dead NULL check after GFP_NOFAIL allocation
  drm: remove dead WARN_ON NULL check after GFP_NOFAIL allocation
  lib/test_hmm: remove dead NULL checks after GFP_NOFAIL allocations
  RDMA/cxgb4: remove dead NULL checks after GFP_NOFAIL allocations

 arch/powerpc/sysdev/xive/common.c  |  3 ---
 drivers/gpu/drm/drm_modeset_lock.c |  4 ----
 drivers/infiniband/hw/cxgb4/mem.c  | 10 ++--------
 lib/test_hmm.c                     |  6 ------
 4 files changed, 2 insertions(+), 21 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2026-07-23 10:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-23  8:18 [PATCH 0/4] remove dead NULL checks after GFP_NOFAIL allocations Gou Hao
2026-07-23  8:18 ` [PATCH 1/4] powerpc/xive: remove dead NULL check after GFP_NOFAIL allocation Gou Hao
2026-07-23  8:28   ` sashiko-bot
2026-07-23  9:37   ` Mukesh Kumar Chaurasiya
2026-07-23 10:26     ` Gou Hao
2026-07-23  8:18 ` [PATCH 2/4] drm: remove dead WARN_ON " Gou Hao
2026-07-23  8:18 ` [PATCH 3/4] lib/test_hmm: remove dead NULL checks after GFP_NOFAIL allocations Gou Hao
2026-07-23  8:29   ` sashiko-bot
2026-07-23  8:18 ` [PATCH 4/4] RDMA/cxgb4: " Gou Hao
2026-07-23  8:35   ` sashiko-bot

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.