From nobody Fri Apr 17 00:29:09 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E4453A9DAE; Tue, 24 Feb 2026 17:36:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771954618; cv=none; b=GZ3wdwUBg9R+DVXmJYCmBeCgdtWFzjxXV3/kXwdixlp4Qfq1SdSAKOssQTInLp9mqP3/I2KhQ3dXPh97NIBQGf4XMb9pkUpLbMIGwcVJi1rfCDKvbwEEtXQ0O5zJWWZdpNwHTJ+VEIhux6G4HA14b6n5mIEgIUvFPu28SAlECHE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771954618; c=relaxed/simple; bh=uOMTNFxDp1eAIvrwpGFZHPyekQFWzpPNUCunTIWmulc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=hhtaBWXL9fbndep115IEAOE/Y471RAbgLDtr21WT1NSMlawcY5jONcknNqe37cf/G3skngN2ELAJzFtXJXtWToxk0vpjfyDo9ZZqhjxjCu+JZNcW2NHlYOPf4RAx+PpLzr0msk3OHG39KHTgZ9RE3baZR3x3c2j/bgFRVONPkU0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=cF8m5hrU; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=6ysI4XAw; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="cF8m5hrU"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="6ysI4XAw" Date: Tue, 24 Feb 2026 17:36:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1771954615; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w4IGsvNNyYFIDRhDOTqBoIvTAuiTOZC3fe6RU5TPhr0=; b=cF8m5hrUt/4441wHjHJ4ceOgxseczsOpyEAkJI9DV2ryvBI0X/2aMFQkf0nHBxr1zfSnEE ws5ZdMmhXckvaiy4hBaaX5mzeD/57/vnPb2N38DZVc8p3DmZYgY8SsztSDMpSvwlezYt1U bfGMxy49SIP7vHEWrO08M85xWGhDhobBIKHOzuvegmYpo3dwCGDZj24UzxeB28Jel7TUNQ P4BUaR85MC/iiFbKxmXNWye4CpNg3C1r0kpp7q4t/Yo88HmRxeZb0hggxI6/o3qkgjrYHh tJm4Dmiu8SIyc6mnxlEO8B2kQdNLKrA6w+edCyvrhCgurd2PiBHA8g9dKX4VKA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1771954615; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w4IGsvNNyYFIDRhDOTqBoIvTAuiTOZC3fe6RU5TPhr0=; b=6ysI4XAw3BDZnOqb613vptljAsvfdTflqC5C7z9l5iVW6qsvYfLaifwa9wMlIMcbpeCBPc xP5OlMh5YtconmDA== From: "tip-bot2 for Ioana Ciornei" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/urgent] irqchip/ls-extirq: Fix devm_of_iomap() error check Cc: Dan Carpenter , Ioana Ciornei , Thomas Gleixner , Herve Codina , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20260224113610.1129022-3-ioana.ciornei@nxp.com> References: <20260224113610.1129022-3-ioana.ciornei@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177195461452.1647592.10777633819590019033.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/urgent branch of tip: Commit-ID: fe5669e363b129cde285bfb4d45abb72d1d77cfc Gitweb: https://git.kernel.org/tip/fe5669e363b129cde285bfb4d45abb72d= 1d77cfc Author: Ioana Ciornei AuthorDate: Tue, 24 Feb 2026 13:36:10 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 24 Feb 2026 18:35:49 +01:00 irqchip/ls-extirq: Fix devm_of_iomap() error check The devm_of_iomap() function returns an ERR_PTR() encoded error code on failure. Replace the incorrect check against NULL with IS_ERR(). Fixes: 05cd654829dd ("irqchip/ls-extirq: Convert to a platform driver to ma= ke it work again") Reported-by: Dan Carpenter Signed-off-by: Ioana Ciornei Signed-off-by: Thomas Gleixner Reviewed-by: Herve Codina Link: https://patch.msgid.link/20260224113610.1129022-3-ioana.ciornei@nxp.c= om Closes: https://lore.kernel.org/all/aYXvfbfT6w0TMsXS@stanley.mountain/ --- drivers/irqchip/irq-ls-extirq.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-ls-extirq.c b/drivers/irqchip/irq-ls-extir= q.c index 96f9c20..d724fe8 100644 --- a/drivers/irqchip/irq-ls-extirq.c +++ b/drivers/irqchip/irq-ls-extirq.c @@ -190,8 +190,10 @@ static int ls_extirq_probe(struct platform_device *pde= v) return dev_err_probe(dev, -ENOMEM, "Failed to allocate memory\n"); =20 priv->intpcr =3D devm_of_iomap(dev, node, 0, NULL); - if (!priv->intpcr) - return dev_err_probe(dev, -ENOMEM, "Cannot ioremap OF node %pOF\n", node= ); + if (IS_ERR(priv->intpcr)) { + return dev_err_probe(dev, PTR_ERR(priv->intpcr), + "Cannot ioremap OF node %pOF\n", node); + } =20 ret =3D ls_extirq_parse_map(priv, node); if (ret)