Rust for Linux List
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Muchamad Coirul Anwar <muchamadcoirulanwar@gmail.com>
Cc: linux-iio@vger.kernel.org, rust-for-linux@vger.kernel.org,
	linux-kernel@vger.kernel.org, Miguel Ojeda <ojeda@kernel.org>,
	Igor Korotin <igor.korotin.linux@gmail.com>,
	Brandon Saint-John <branstj@gmail.com>
Subject: Re: [RFC PATCH v3 2/4] rust: add minimal IIO subsystem abstractions
Date: Mon, 1 Jun 2026 10:10:04 +0100	[thread overview]
Message-ID: <20260601101004.4346a477@jic23-huawei> (raw)
In-Reply-To: <CAO26r3QasDuUo2_7qrJfPtQer-UP6K6jzg9=RhDRT8OXN5BK-w@mail.gmail.com>

On Mon, 1 Jun 2026 15:30:40 +0700
Muchamad Coirul Anwar <muchamadcoirulanwar@gmail.com> wrote:

> On Thu, 28 May 2026 17:09:00 +0100
> Jonathan Cameron <jic23@kernel.org> wrote:
Hi Coirul,

A small kernel review process thing.  You need to keep more context.
A reader shouldn't need to go open previous email just to find
out what code we are talking about. Take a look at other review
discussions on the mailing lists you are sending this to.
(though oddly this pattern has become a common thing in last week or
 so - hence I'm sending this comment a lot!)



> 
> > why .get() for this one.  
> 
> I used .get() because NonZeroI32 is a wrapper type, meaning we have to
> explicitly extract the
> inner i32. Since the other variants use a plain i32, they don't need
> it. I'll add a quick comment in
> v4 to clarify this.

Ah no need. That was my lack of rust knowledge.  You'll be helping
reviewers understand this stuff for a while!


  reply	other threads:[~2026-06-01  9:10 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-24 13:28 [RFC PATCH v3 0/4] iio: position: add Rust driver for ams AS5600 Muchamad Coirul Anwar
2026-05-24 13:28 ` [RFC PATCH v3 1/4] i2c: rust: implement kernel::io::Io trait for I2cClient Muchamad Coirul Anwar
2026-05-28 15:25   ` Jonathan Cameron
2026-06-01  7:58     ` Muchamad Coirul Anwar
2026-06-01  9:05       ` Jonathan Cameron
2026-06-02  8:11         ` Muchamad Coirul Anwar
2026-06-02 11:59           ` Jonathan Cameron
2026-05-24 13:28 ` [RFC PATCH v3 2/4] rust: add minimal IIO subsystem abstractions Muchamad Coirul Anwar
2026-05-28 16:09   ` Jonathan Cameron
2026-06-01  8:30     ` Muchamad Coirul Anwar
2026-06-01  9:10       ` Jonathan Cameron [this message]
2026-05-24 13:28 ` [RFC PATCH v3 3/4] iio: position: add Rust driver for ams AS5600 Muchamad Coirul Anwar
2026-05-28 16:08   ` Jonathan Cameron
2026-06-01 11:11     ` Muchamad Coirul Anwar
2026-06-02 12:06       ` Jonathan Cameron
2026-06-03  8:52         ` Muchamad Coirul Anwar
2026-05-29  5:37   ` Brandon Saint-John
2026-06-01 11:33     ` Muchamad Coirul Anwar
2026-05-24 13:28 ` [RFC PATCH v3 4/4] iio: position: as5600: add Kconfig and Makefile entries Muchamad Coirul Anwar
2026-05-28 16:09   ` Jonathan Cameron
2026-06-01  8:00     ` Muchamad Coirul Anwar

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=20260601101004.4346a477@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=branstj@gmail.com \
    --cc=igor.korotin.linux@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=muchamadcoirulanwar@gmail.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    /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