From: sashiko-bot@kernel.org
To: "Daniel Almeida" <daniel.almeida@collabora.com>
Cc: dri-devel@lists.freedesktop.org, media-ci@linuxtv.org,
ojeda@kernel.org, gary@garyguo.net
Subject: Re: [PATCH 1/2] rust: dma_buf: dma_fence: add SignallingSection
Date: Fri, 27 Nov 2026 18:37:32 +0000 [thread overview]
Message-ID: <sashiko-outbox-238085@kernel.org> (raw)
In-Reply-To: <20261127-dma-fence-signalling-v1-1-c44e8f4910ca@collabora.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] rust: dma_buf: unbraced types:: imports violate vertical import
style
--
commit 56c9983dfb639b5faf163be9218eb021f7654558
Author: Daniel Almeida <daniel.almeida@collabora.com>
rust: dma_buf: dma_fence: add SignallingSection
This commit adds a SignallingSection guard wrapping
dma_fence_begin_signalling() and dma_fence_end_signalling(), and uses it
in the DriverFence documentation example.
> diff --git a/rust/kernel/dma_buf/dma_fence.rs b/rust/kernel/dma_buf/dma_fence.rs
> index a1d851656562d..7ee87935d3be3 100644
> --- a/rust/kernel/dma_buf/dma_fence.rs
> +++ b/rust/kernel/dma_buf/dma_fence.rs
> @@ -17,6 +17,7 @@
> error::to_result,
> prelude::*,
> types::ForeignOwnable,
> + types::NotThreadSafe,
> types::Opaque, //
> };
[Severity: Low]
This isn't a bug, but per Documentation/rust/coding-guidelines.rst,
multiple items imported from crate::types should be grouped in nested
braces:
types::{
ForeignOwnable,
NotThreadSafe,
Opaque, //
},
Also, in the DriverFence doc example below, the SignallingSection entry at
the end of the dma_buf::{ ... } import list is missing the trailing "//"
comment that keeps rustfmt from collapsing the block.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261127-dma-fence-signalling-v1-0-c44e8f4910ca@collabora.com?part=1
next prev parent reply other threads:[~2026-11-27 18:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 18:30 [PATCH 0/2] rust: dma_buf: add dma-fence signalling sections Daniel Almeida
2026-11-27 18:30 ` [PATCH 1/2] rust: dma_buf: dma_fence: add SignallingSection Daniel Almeida
2026-11-27 18:37 ` sashiko-bot [this message]
2026-11-27 21:06 ` Danilo Krummrich
2026-11-27 18:30 ` [PATCH 2/2] rust: dma_buf: dma_fence: require a SignallingSection in signal() Daniel Almeida
2026-11-27 18:59 ` [PATCH 0/2] rust: dma_buf: add dma-fence signalling sections Gary Guo
2026-11-27 20:11 ` Danilo Krummrich
2026-11-27 20:26 ` Danilo Krummrich
2026-11-30 16:11 ` Philipp Stanner
2026-11-30 16:12 ` Philipp Stanner
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=sashiko-outbox-238085@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gary@garyguo.net \
--cc=media-ci@linuxtv.org \
--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.