LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] macintosh/windfarm: Return -ENOMEM on allocation failure
@ 2026-11-29 12:50 Thorsten Blum
  2026-11-29 12:50 ` [PATCH 1/3] macintosh/windfarm: Return -ENOMEM on AD7417 " Thorsten Blum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thorsten Blum @ 2026-11-29 12:50 UTC (permalink / raw)
  To: Madhavan Srinivasan, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Ritesh Harjani, Shrikanth Hegde,
	Benjamin Herrenschmidt, Jean Delvare
  Cc: linuxppc-dev, Thorsten Blum

Several windfarm drivers return -ENODEV when kzalloc_obj() fails in
probe. Return -ENOMEM to correctly report the allocation failures.

Thorsten Blum (3):
  macintosh/windfarm: Return -ENOMEM on AD7417 allocation failure
  macintosh/windfarm: Return -ENOMEM on LM87 allocation failure
  macintosh/windfarm: Return -ENOMEM on LM75 allocation failure

 drivers/macintosh/windfarm_ad7417_sensor.c | 2 +-
 drivers/macintosh/windfarm_lm75_sensor.c   | 2 +-
 drivers/macintosh/windfarm_lm87_sensor.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


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

end of thread, other threads:[~2026-11-29 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 12:50 [PATCH 0/3] macintosh/windfarm: Return -ENOMEM on allocation failure Thorsten Blum
2026-11-29 12:50 ` [PATCH 1/3] macintosh/windfarm: Return -ENOMEM on AD7417 " Thorsten Blum
2026-11-29 12:50 ` [PATCH 2/3] macintosh/windfarm: Return -ENOMEM on LM87 " Thorsten Blum
2026-11-29 12:50 ` [PATCH 3/3] macintosh/windfarm: Return -ENOMEM on LM75 " Thorsten Blum

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