From: sashiko-bot@kernel.org
To: "Guru Das Srinagesh" <linux@gurudas.dev>
Cc: "Danilo Krummrich" <dakr@kernel.org>,
ojeda@kernel.org, dri-devel@lists.freedesktop.org,
"Alexandre Courbot" <acourbot@nvidia.com>
Subject: Re: [PATCH 2/7] pwm: th1520: use vertical import style
Date: Tue, 30 Jun 2026 07:09:15 +0000 [thread overview]
Message-ID: <20260630070915.A94AE1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260628-b4-rust-vertical-imports-v1-2-98bc71d4810b@gurudas.dev>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete conversion to vertical import style; missed multiple imports.
--
commit 6d048655750f08bf1b238e917a37ca506f11dd45
Author: Guru Das Srinagesh <linux@gurudas.dev>
pwm: th1520: use vertical import style
This commit converts use imports to a vertical layout for improved readability
and maintainability.
> diff --git a/drivers/pwm/pwm_th1520.rs b/drivers/pwm/pwm_th1520.rs
> index 3e3fa51ccef91..3e4524a1910bc 100644
> --- a/drivers/pwm/pwm_th1520.rs
> +++ b/drivers/pwm/pwm_th1520.rs
> @@ -23,12 +23,16 @@
> use core::ops::Deref;
> use kernel::{
> clk::Clk,
> - device::{Bound, Core, Device},
> + device::{
> + Bound,
> + Core,
> + Device, //
> + },
> devres,
> io::{
> mem::IoMem,
> Io, //
> },
> of, platform,
> prelude::*,
> pwm, time,
[Severity: Low]
Are some modules still grouped horizontally here?
The commit message states the goal is to convert imports to a vertical layout.
However, the use kernel::{ ... } block still contains horizontal imports for
of, platform, pwm, and time.
Could these remaining imports be split onto their own lines to fully implement
the vertical style?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260628-b4-rust-vertical-imports-v1-0-98bc71d4810b@gurudas.dev?part=2
next prev parent reply other threads:[~2026-06-30 7:09 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-29 3:38 [PATCH 0/7] rust: Use kernel style vertical imports in various drivers Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-29 3:38 ` [PATCH 1/7] samples: rust_dma: use vertical import style Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-30 9:48 ` Danilo Krummrich
2026-06-30 9:48 ` Danilo Krummrich
2026-07-05 1:15 ` Guru Das Srinagesh
2026-07-05 1:15 ` Guru Das Srinagesh
2026-06-29 3:38 ` [PATCH 2/7] pwm: th1520: " Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-30 7:09 ` sashiko-bot [this message]
2026-06-29 3:38 ` [PATCH 3/7] cpufreq: rcpufreq_dt: " Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-29 12:43 ` Zhongqiu Han
2026-06-29 12:43 ` Zhongqiu Han
2026-06-30 8:35 ` Miguel Ojeda
2026-06-30 8:35 ` Miguel Ojeda
2026-07-05 1:01 ` Guru Das Srinagesh
2026-07-05 1:01 ` Guru Das Srinagesh
2026-07-05 12:12 ` Miguel Ojeda
2026-07-05 12:12 ` Miguel Ojeda
2026-06-30 7:09 ` sashiko-bot
2026-06-29 3:38 ` [PATCH 4/7] block: rnull: " Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-30 7:09 ` sashiko-bot
2026-06-29 3:38 ` [PATCH 5/7] net: phy: ax88796b: " Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-29 3:38 ` [PATCH 6/7] net: phy: qt2025: " Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-29 3:38 ` [PATCH 7/7] drm/nova: " Guru Das Srinagesh
2026-06-29 3:38 ` Guru Das Srinagesh
2026-06-29 14:06 ` [PATCH 0/7] rust: Use kernel style vertical imports in various drivers Andrew Lunn
2026-06-29 14:06 ` Andrew Lunn
2026-07-05 0:38 ` Guru Das Srinagesh
2026-07-05 0:38 ` Guru Das Srinagesh
2026-07-05 12:08 ` Gary Guo
2026-07-05 12:08 ` Gary Guo
2026-07-05 12:22 ` Miguel Ojeda
2026-07-05 12:22 ` Miguel Ojeda
2026-07-05 15:03 ` Andrew Lunn
2026-07-05 15:03 ` Andrew Lunn
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=20260630070915.A94AE1F00A3A@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=acourbot@nvidia.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux@gurudas.dev \
--cc=ojeda@kernel.org \
--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.