From: sashiko-bot@kernel.org
To: "Pedro Yudi Honda" <niyudi.honda@usp.br>
Cc: dri-devel@lists.freedesktop.org,
"Alexandre Courbot" <acourbot@nvidia.com>,
"Danilo Krummrich" <dakr@kernel.org>
Subject: Re: [PATCH 7/7] drm/nova: remove unused trait in commands.rs
Date: Thu, 25 Jun 2026 19:11:06 +0000 [thread overview]
Message-ID: <20260625191107.20C221F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260625190553.7245-8-niyudi.honda@usp.br>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Missing trailing comma and space in the import block.
--
commit 24496bb80f7a04aa163bf36fdd55b1fa6b6ff3ac
Author: Pedro Yudi Honda <niyudi.honda@usp.br>
drm/nova: remove unused trait in commands.rs
This commit removes an unused transmute::FromBytes implementation for
GspInitDone in the nova-core driver. It also cleans up the associated
imports in commands.rs.
> diff --git a/drivers/gpu/nova-core/gsp/commands.rs b/drivers/gpu/nova-core/gsp/commands.rs
> index f84de9f4f0450..a3c0b7fa3b9ed 100644
> --- a/drivers/gpu/nova-core/gsp/commands.rs
> +++ b/drivers/gpu/nova-core/gsp/commands.rs
> @@ -12,10 +12,7 @@
> device,
> pci,
> prelude::*,
> - transmute::{
> - AsBytes,
> - FromBytes, //
> - }, //
> + transmute::AsBytes//
[Severity: Low]
This isn't a bug, but should this import retain the trailing comma and space
before the comment? Keeping the trailing comma (e.g., transmute::AsBytes, //)
prevents noisier diffs when new imports are added later, and adding a space
matches typical formatting conventions for vertical import blocks.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260625190553.7245-1-niyudi.honda@usp.br?part=7
next prev parent reply other threads:[~2026-06-25 19:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 19:05 [PATCH 0/7] drm/nova: replace `transmute` with `zerocopy` Pedro Yudi Honda
2026-06-25 19:05 ` [PATCH 1/7] drm/nova: use `zerocopy` in firmware.rs Pedro Yudi Honda
2026-06-25 19:05 ` [PATCH 2/7] drm/nova: use `zerocopy` in vbios.rs Pedro Yudi Honda
2026-06-25 19:16 ` sashiko-bot
2026-06-25 19:05 ` [PATCH 3/7] drm/nova: use `zerocopy` in booter.rs Pedro Yudi Honda
2026-06-25 19:14 ` sashiko-bot
2026-06-25 19:05 ` [PATCH 4/7] drm/nova: use `zerocopy` in fwsec.rs Pedro Yudi Honda
2026-06-25 19:05 ` [PATCH 5/7] drm/nova: use `zerocopy` in bootloader.rs Pedro Yudi Honda
2026-06-25 19:05 ` [PATCH 6/7] drm/nova: use `zerocopy` in riscv.rs Pedro Yudi Honda
2026-06-25 19:05 ` [PATCH 7/7] drm/nova: remove unused trait in commands.rs Pedro Yudi Honda
2026-06-25 19:11 ` sashiko-bot [this message]
2026-06-25 21:38 ` [PATCH 0/7] drm/nova: replace `transmute` with `zerocopy` Danilo Krummrich
2026-06-26 13:15 ` Nicolás Antinori
-- strict thread matches above, loose matches on Subject: below --
2026-06-25 20:51 [RESEND PATCH " Pedro Yudi Honda
2026-06-25 20:51 ` [PATCH 7/7] drm/nova: remove unused trait in commands.rs Pedro Yudi Honda
2026-06-25 21:04 ` sashiko-bot
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=20260625191107.20C221F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=acourbot@nvidia.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=niyudi.honda@usp.br \
--cc=sashiko-reviews@lists.linux.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.