Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216412/?format=api
{ "id": 2216412, "url": "http://patchwork.ozlabs.org/api/patches/2216412/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260326112831.2783853-1-thierry.reding@kernel.org/", "project": { "id": 21, "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api", "name": "Linux Tegra Development", "link_name": "linux-tegra", "list_id": "linux-tegra.vger.kernel.org", "list_email": "linux-tegra@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260326112831.2783853-1-thierry.reding@kernel.org>", "list_archive_url": null, "date": "2026-03-26T11:28:31", "name": "soc/tegra: bpmp: Use ENODEV instead of ENOTSUPP", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c898c60cbf780379c7ae58b630dd7fce189e4411", "submitter": { "id": 92481, "url": "http://patchwork.ozlabs.org/api/people/92481/?format=api", "name": "Thierry Reding", "email": "thierry.reding@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260326112831.2783853-1-thierry.reding@kernel.org/mbox/", "series": [ { "id": 497573, "url": "http://patchwork.ozlabs.org/api/series/497573/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=497573", "date": "2026-03-26T11:28:31", "name": "soc/tegra: bpmp: Use ENODEV instead of ENOTSUPP", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497573/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216412/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216412/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-tegra+bounces-13295-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-tegra@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=q2pnleWt;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-tegra+bounces-13295-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"q2pnleWt\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fhMC92LnGz1y1x\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 22:35:17 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id B165B310001B\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 11:28:40 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3B0273DCD8A;\n\tThu, 26 Mar 2026 11:28:40 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 41D683CAE85\n\tfor <linux-tegra@vger.kernel.org>; Thu, 26 Mar 2026 11:28:39 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id 1685FC116C6;\n\tThu, 26 Mar 2026 11:28:37 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774524519; cv=none;\n b=Be34LvPB/9KTW93V0ea3XO6XrTDSQPPSL9ji3QMHzMgiBMddNeE8UiiCgOe69z67IR0BykoMnNtHExGiIrHT+R0GiaNzuJmBoYVtE6NtjMCAkXBg9Ff5FBRE8pY67TNzPwSPjZfwL6zYpjWeHHO0xY4sUfWRzAXdeM2rPuu/uwo=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774524519; c=relaxed/simple;\n\tbh=SuhWVLOpmME3KgNqo+uk5QsQtgbCDFvyt5EO1DDbThU=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=hX5qmX/HRgYq2a53C8ikiOXxnAFMJWCgwMxgk+Bl34pL6tyzlGVR6qQqmrWwrPTSwAjpQH2SjB8wilFFKV4el47jQFL5Rm6QzdFtdh6aeDJpoFuj/+o5U4ECOe6KZotK111nTnUtmiK5+25GUjBeUc5JRlzVBgM7k6pIf0IBBvw=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=q2pnleWt; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1774524518;\n\tbh=SuhWVLOpmME3KgNqo+uk5QsQtgbCDFvyt5EO1DDbThU=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=q2pnleWt4pj8OpA4TImNSOokSKRZC4RJydJo9b3jUOLifA1YFa9cgWw19UPwoBY4P\n\t upGta3/VMJDYuxak0dgSFWaGQQ2q2JvOp5E8/9GHEmQulkCL+a0uR/h9aL9uNm0cOU\n\t 0DKuU7+VfXjP2i01St+mAgyinGkB/HIh3grMN2+TKQPbodVg0DcJka2VIeaBARnOBj\n\t 0AiSQ60kXrQapgaXrbH/B40Ggf5/9uUfTIMYUN+K1KeZ0T73OZCEe3WnDAQLclTUim\n\t BzQv4ay4tZC975JXYB1u+a3PLLhGBeP1EaEsF3Uh5I+gGlnsrjPhR44dlViahGxOXj\n\t RgqQX/uS26y1w==", "From": "Thierry Reding <thierry.reding@kernel.org>", "To": "Thierry Reding <thierry.reding@kernel.org>", "Cc": "Jon Hunter <jonathanh@nvidia.com>,\n\tlinux-tegra@vger.kernel.org", "Subject": "[PATCH] soc/tegra: bpmp: Use ENODEV instead of ENOTSUPP", "Date": "Thu, 26 Mar 2026 12:28:31 +0100", "Message-ID": "<20260326112831.2783853-1-thierry.reding@kernel.org>", "X-Mailer": "git-send-email 2.52.0", "Precedence": "bulk", "X-Mailing-List": "linux-tegra@vger.kernel.org", "List-Id": "<linux-tegra.vger.kernel.org>", "List-Subscribe": "<mailto:linux-tegra+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-tegra+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit" }, "content": "From: Thierry Reding <treding@nvidia.com>\n\nENOTSUPP is not a SUSV4 error code and checkpatch will warn about it.\nIt is also not very descriptive in the context of BPMP, so use the\nENODEV error code instead. For the stub implementations this is a more\naccurate description of what the failure is.\n\nSigned-off-by: Thierry Reding <treding@nvidia.com>\n---\n include/soc/tegra/bpmp.h | 12 ++++++++----\n 1 file changed, 8 insertions(+), 4 deletions(-)", "diff": "diff --git a/include/soc/tegra/bpmp.h b/include/soc/tegra/bpmp.h\nindex 822851ef4bf8..a33582590a3b 100644\n--- a/include/soc/tegra/bpmp.h\n+++ b/include/soc/tegra/bpmp.h\n@@ -144,7 +144,7 @@ bool tegra_bpmp_mrq_is_supported(struct tegra_bpmp *bpmp, unsigned int mrq);\n #else\n static inline struct tegra_bpmp *tegra_bpmp_get(struct device *dev)\n {\n-\treturn ERR_PTR(-ENOTSUPP);\n+\treturn ERR_PTR(-ENODEV);\n }\n \n static inline struct tegra_bpmp *tegra_bpmp_get_with_id(struct device *dev,\n@@ -156,16 +156,19 @@ static inline struct tegra_bpmp *tegra_bpmp_get_with_id(struct device *dev,\n static inline void tegra_bpmp_put(struct tegra_bpmp *bpmp)\n {\n }\n+\n static inline int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp,\n \t\t\t\t\t struct tegra_bpmp_message *msg)\n {\n-\treturn -ENOTSUPP;\n+\treturn -ENODEV;\n }\n+\n static inline int tegra_bpmp_transfer(struct tegra_bpmp *bpmp,\n \t\t\t\t struct tegra_bpmp_message *msg)\n {\n-\treturn -ENOTSUPP;\n+\treturn -ENODEV;\n }\n+\n static inline void tegra_bpmp_mrq_return(struct tegra_bpmp_channel *channel,\n \t\t\t\t\t int code, const void *data,\n \t\t\t\t\t size_t size)\n@@ -177,8 +180,9 @@ static inline int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp,\n \t\t\t\t\t tegra_bpmp_mrq_handler_t handler,\n \t\t\t\t\t void *data)\n {\n-\treturn -ENOTSUPP;\n+\treturn -ENODEV;\n }\n+\n static inline void tegra_bpmp_free_mrq(struct tegra_bpmp *bpmp,\n \t\t\t\t unsigned int mrq, void *data)\n {\n", "prefixes": [] }