All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] prefcnt: guard against NULL function parameters
@ 2026-09-28 18:21 Håvard F. Aasen
  2026-09-28 18:21 ` [PATCH 1/1] " Håvard F. Aasen
  0 siblings, 1 reply; 3+ messages in thread
From: Håvard F. Aasen @ 2026-09-28 18:21 UTC (permalink / raw)
  To: dwarves; +Cc: Håvard F. Aasen

When prefcnt is invoked without an argument, it attempts to process the
debugging information for the running kernel. Depending on the
available BTF/ELF data, the function-parameter list may contain a NULL
entry.

I'm not convinced that the proposed patch is the only, or best way to
fix this issue. Both cus__load_running_kernel() and the total expansion
of list_for_each_entry() macro might be candidates for a more elegant
solution.

Håvard F. Aasen (1):
  prefcnt: guard against NULL function parameters

 prefcnt.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.53.0


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

end of thread, other threads:[~2026-10-16 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-28 18:21 [PATCH 0/1] prefcnt: guard against NULL function parameters Håvard F. Aasen
2026-09-28 18:21 ` [PATCH 1/1] " Håvard F. Aasen
2026-10-16 16:46   ` Alan Maguire

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.