LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thorsten Blum <blum@kernel.org>
To: Madhavan Srinivasan <maddy@linux.ibm.com>,
	Michael Ellerman <mpe@ellerman.id.au>,
	Nicholas Piggin <npiggin@gmail.com>,
	Christophe Leroy <chleroy@kernel.org>,
	Ritesh Harjani <ritesh.list@gmail.com>,
	Shrikanth Hegde <sshegde@linux.ibm.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Jean Delvare <khali@linux-fr.org>
Cc: linuxppc-dev@lists.ozlabs.org, Thorsten Blum <blum@kernel.org>
Subject: [PATCH 0/3] macintosh/windfarm: Return -ENOMEM on allocation failure
Date: Sun, 29 Nov 2026 13:50:37 +0100	[thread overview]
Message-ID: <20261129125037.1173191-5-blum@kernel.org> (raw)

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(-)


             reply	other threads:[~2026-11-29 12:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 12:50 Thorsten Blum [this message]
2026-11-29 12:50 ` [PATCH 1/3] macintosh/windfarm: Return -ENOMEM on AD7417 allocation failure 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261129125037.1173191-5-blum@kernel.org \
    --to=blum@kernel.org \
    --cc=benh@kernel.crashing.org \
    --cc=chleroy@kernel.org \
    --cc=khali@linux-fr.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.ibm.com \
    --cc=mpe@ellerman.id.au \
    --cc=npiggin@gmail.com \
    --cc=ritesh.list@gmail.com \
    --cc=sshegde@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox