Article View: linux.kernel.netdev
Article #3873Re: [PATCH net-next 0/4] can: don't discard the platform_get_irq() error in probe
From: chaosheng.qu.linux
Date: Fri, 16 Oct 2026 07:16
Date: Fri, 16 Oct 2026 07:16
17 lines
9130 bytes
9130 bytes
Hi, The issue was identified during development while reviewing the probe error handling in these CAN platform drivers. Manual inspection showed that negative results from platform_get_irq() were being replaced with fixed error codes. For drivers matched via OF, this can discard -EPROBE_DEFER and prevent the driver core from retrying once the interrupt controller becomes available. I compared these paths with platform_get_irq() semantics and neighboring drivers. This was not a production hit or a syzbot report, and it was not found by a static-analysis scan. LLM assistance was used in preparing the patches, as disclosed by the Assisted-by tag. The controllers were unavailable for runtime testing, so the series was build-tested only. Thanks, Chaosheng
Technical Details
Message-ID:
<179213501981.212310.9988031427961239592@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347150-linux-kernel-netdev=dewy.ruReferences:
<cover.1792118040.git.chaosheng.qu.linux@gmail.com> <179213131512.408196.11368789495251891862@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347150-linux-kernel-netdev=dewy.ru
From: chaosheng.qu.linux@gmail.com
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/4] can: don't discard the platform_get_irq()
error in probe
Date: Fri, 16 Oct 2026 15:16:59 +0800
Organization: Usenet Network
Message-ID: <179213501981.212310.9988031427961239592@gmail.com>
References: <cover.1792118040.git.chaosheng.qu.linux@gmail.com>
<179213131512.408196.11368789495251891862@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="2707129"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ud8e6iDlrrGQmgkib1UYv3wttFQ= sha256:y1ba2QLeCiWiKJnOkpMxJUTmg8IBz133Prpq8WAK6/Q=
sha1:ka6px4YXzhLCLibQYGyoc7PI1CM= sha256:6fFtiZdmpK09aA+njGCgYou77bgnRw1mZYXED+I8Ufg=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 47599110482; Fri, 16 Oct 2026 10:19:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.748
X-Spam-Status: No, score=-0.748 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id yiyJ-Z4QBtYi;
Fri, 16 Oct 2026 10:19:01 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-347150-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id ADAA6110487; Fri, 16 Oct 2026 10:18:51 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by tor.lore.kernel.org (Postfix) with ESMTP id 978A73ADD4; Fri, 16 Oct 2026 07:17:13 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 8676441DEEC;
Fri, 16 Oct 2026 07:17:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ljB4bnyv"
X-Received: from mail-dy1-f179.google.com (mail-dy1-f179.google.com [74.125.82.179])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C1BF41DDEC
for <netdev@vger.kernel.org>; Fri, 16 Oct 2026 07:17:10 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.179
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1792135032; cv=none; b=PKobHbSiVHixvRRyw5qKYqdbgv8FxaDrMAOQaQyjKNs0bm5pavwdmn88q3Jhv0eoTug/eLUbqy33I1GxTaDAkUj0Cwr+deaQc8xk9bf9QtC3E6aeWgjaVqYy1Hebc76ohrUHlOuDBw+lkYbLgkRqHi5WP7ZPgbmBOfi/Io5qGIA=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1792135032; c=relaxed/simple;
bh=WYIoHRWahmE2fvmt+avDjJLVf4iUC15MrcJZtroluhw=;
h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
Content-Type:MIME-Version; b=JYxAbD8iaNVGwZt7u2Q/J/yMtTdGlDoWBKzUUVc1NdZmA+d9vZHDhZMNPu27ZI/jLS+JiYjsFYLP5BGhdAjRu15p8t9pMNUiQWANXEOxVnofpZNA203/MXGG1wOkDqWDX7mG2IP+Hr2t3eS1XplFm4osxWmhh7RCHd0wia9cI7s=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ljB4bnyv; arc=none smtp.client-ip=74.125.82.179
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dy1-f179.google.com with SMTP id 5a478bee46e88-30b6dad2382so14704264eec.0
for <netdev@vger.kernel.org>; Fri, 16 Oct 2026 00:17:10 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792135030; x=1792739830; darn=vger.kernel.org;
h=mime-version:content-transfer-encoding:content-type:references
:in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=WYIoHRWahmE2fvmt+avDjJLVf4iUC15MrcJZtroluhw=;
b=ljB4bnyvKLk/t8VWqupEePEo8p86nyEJndWQkJ+twE7aQsnLkR1ip0bPAF+i9J/Ewx
Y+7ALoeK8MWK1FbCZfM5r1kJIwqu5Zx8tnJ84LZpUt2xxTeVjWlDKrMNzW47WBsWBAOi
DUqddf0ExPC866enxMpjhX7vPULYdXzmLYn/Ztg80GQCvN9KReZqvbTeB3yaFHIwmAb5
ftMCLH4y5ClGAhFXBuR1GndE+VIgCXFXDNoURkMC1q+9b02V6693dHpC+Z5DVW90pyeQ
PGhZ7g5uM/VPhGsgJj7m/q/w/SuRYoWcIyKphiGqSeuQs44EgzLearY80ZP1l7TVGVsd
tLuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792135030; x=1792739830;
h=mime-version:content-transfer-encoding:content-type:references
:in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=WYIoHRWahmE2fvmt+avDjJLVf4iUC15MrcJZtroluhw=;
b=cyIlyQ4+9mohx+S/oJdyHctVZ0swfEJ/YPSrGc7gdq8bGAZnmDVkgSQ8cDCgEx1zk4
buDZBXSzZKEXlbYtyjOfoFXOSs1iUXQ331297ouyvVAoAwN/4kimpfFiZxe3LtccqiMD
yokEfOY6UqZ3N72g6P9Qn1QO1bIkLHNwytSuxWicfKszfviyzrLZyzlwS+fRKJ8NHXJV
wdaStXwg06sM8cps5oP0mIGZQra/FO1qJepim++bbWbm1tcPHaOX9Kvr5YLQFQApICHA
F6f83D+d9rTvZYdvjBSJzEqBC4HVr37vgWav327CC6TOv3kYp6SZFMeuLksuK7nmxzs8
CJLA==
X-Forwarded-Encrypted: i=1; AKwUvBwW7OzbUOOSlP7wLf6KKvIncJUqJJLa+bRpX0amF+R4XdWKg83A9GGSYxzZnsfS4TjxVem8sXY=@vger.kernel.org
X-Gm-Message-State: AFq9FYJ+2YDkr2U4SSJAVO4p2O93wy5j/q4HXKy+kQjNSMiyPbnsR+BF
S95WcY03Mx0wnNA3XogNEjJdarYSiTyfs999d602Ve1LsY2+1D02lFQ5
X-Gm-Gg: AYBFou3cyc4F2arxObVr1p7+XpN3f3mNqzWyJpnOARvftZ0zDSUYCRuE4o6zme8c0u2
CJBU3YdyfBFzAuEVBjtscVhHV63F4TG4I/Z2WD7NMOchR96P/U/gXxyctWRUuaDQl4lpobFOOAG
uD3NRmvIUUVI2MRgywwBsue+vZ+mdiu1Q1cubd+EcptTw72Lpz4fjlTknhHFD4cQmI9SKYpaA1v
ovSI6HNZ11MUYdh0e3ZlhO77nC3wtVgF4yklmUCGW4L4fzebqWCAzSl9oCXMwKo6wKiXz+v2mVe
+gLI8vWw6HzZH4vLHY/QSIZDcGPLneJRBkD8sBEBnsVrByBHlV23588XATpdAEqXZNnMxk7tfEZ
B1QWJTdV+cvOxdZgV6RLyj7hSDriGL5aHiU7PAAAYeWZpN0ZBMD9qAy6LG2ykgvYmXiShE7U5C1
/rWxeFKTr1GMZZbrt3Rk7RI/CDQRmWSjNu7BfqyIai3JvrQkWYywwf4Ubqo2kCxYrGK5tc
X-Received: by 2002:a05:7301:9c91:b0:35f:8c5d:5928 with SMTP id 5a478bee46e88-35f8c5d5bc7mr4763847eec.30.1792135029915;
Fri, 16 Oct 2026 00:17:09 -0700 (PDT)
X-Received: from [127.0.1.1] ([183.242.161.82])
by smtp.gmail.com with ESMTPSA id 5a478bee46e88-36082784ec8sm3973233eec.22.2026.10.16.00.17.03
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 16 Oct 2026 00:17:09 -0700 (PDT)
X-Cc: Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol@kernel.org>, Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Nicolas Ferre <nicolas.ferre@microchip.com>,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>, linux-can@vger.kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
X-In-Reply-To: <179213131512.408196.11368789495251891862@kernel.org>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>