From: "Alexandre Courbot" <acourbot@nvidia.com>
To: "Ivan Tverdokhleb" <mbkchelofficialdev@gmail.com>
Cc: rust-for-linux@vger.kernel.org, nova-gpu@lists.linux.dev,
dri-devel@lists.freedesktop.org,
"Danilo Krummrich" <dakr@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Trevor Gross" <tmgross@umich.edu>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Tamir Duberstein" <tamird@kernel.org>,
"Onur Özkan" <work@onurozkan.dev>
Subject: Re: [PATCH] gpu: nova-core: firmware: use ENODATA for empty TLV values
Date: Fri, 04 Dec 2026 18:54:43 +0900 [thread overview]
Message-ID: <DNBUVUR4TW0W.3MBJYVNWC13MA@nvidia.com> (raw)
In-Reply-To: <20261202085352.74465-1-mbkchelofficialdev@gmail.com>
On Wed Dec 2, 2026 at 5:53 PM JST, Ivan Tverdokhleb wrote:
> Tlv::get_bytes() returns EINVAL when a tag is present but its
> value is empty, with a TODO to use ENODATA once available.
>
> ENODATA is now defined in rust/kernel/error.rs, so return it instead
> and update the doc comment accordingly.
>
> Signed-off-by: Ivan Tverdokhleb <mbkchelofficialdev@gmail.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Thanks, I'll push this soon unless someone screams.
next prev parent reply other threads:[~2026-12-04 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 8:53 [PATCH] gpu: nova-core: firmware: use ENODATA for empty TLV values Ivan Tverdokhleb
2026-12-04 9:54 ` Alexandre Courbot [this message]
2026-12-04 18:00 ` Timur Tabi
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=DNBUVUR4TW0W.3MBJYVNWC13MA@nvidia.com \
--to=acourbot@nvidia.com \
--cc=a.hindborg@kernel.org \
--cc=airlied@gmail.com \
--cc=aliceryhl@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gary@garyguo.net \
--cc=lossin@kernel.org \
--cc=mbkchelofficialdev@gmail.com \
--cc=nova-gpu@lists.linux.dev \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
--cc=work@onurozkan.dev \
/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