From: Matti Vaittinen <mazziesaccount@gmail.com>
To: "Rupesh Majhi" <zoone.rupert@gmail.com>,
"Alex Lanzano" <lanzano.alex@gmail.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Benson Leung" <bleung@chromium.org>,
"David Lechner" <dlechner@baylibre.com>,
"Guenter Roeck" <groeck@chromium.org>,
"Jagath Jog J" <jagathjog1996@gmail.com>,
"Javier Carrasco" <javier.carrasco.cruz@gmail.com>,
"Jean-Baptiste Maneyrol" <jean-baptiste.maneyrol@tdk.com>,
"Jerome Brunet" <jbrunet@baylibre.com>,
"Jinseob Kim" <kimjinseob88@gmail.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Kevin Hilman" <khilman@baylibre.com>,
"Lorenzo Bianconi" <lorenzo@kernel.org>,
"Martin Blumenstingl" <martin.blumenstingl@googlemail.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Nuno Sá" <nuno.sa@analog.com>,
"Remi Buisson" <remi.buisson@tdk.com>
Cc: chrome-platform@lists.linux.dev,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org, Marco Elver <elver@google.com>,
Bart Van Assche <bvanassche@acm.org>
Subject: Re: [PATCH v4 4/9] iio: accel: kionix-kx022a: annotate the lock helpers
Date: Wed, 28 Oct 2026 08:16:11 +0200 [thread overview]
Message-ID: <9e9a2f4b-b6d6-4faf-95f2-e227b41d27eb@gmail.com> (raw)
In-Reply-To: <20261027124954.110697-5-zoone.rupert@gmail.com>
On 27/10/2026 14:49, Rupesh Majhi wrote:
> kx022a_turn_off_lock() returns with data->mutex held when it succeeds,
> and kx022a_turn_on_unlock() releases it. Annotate both so context
> analysis follows the lock into the callers.
>
> Signed-off-by: Rupesh Majhi <zoone.rupert@gmail.com>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Thanks.
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
WARNING: multiple messages have this Message-ID (diff)
From: Matti Vaittinen <mazziesaccount@gmail.com>
To: "Rupesh Majhi" <zoone.rupert@gmail.com>,
"Alex Lanzano" <lanzano.alex@gmail.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Benson Leung" <bleung@chromium.org>,
"David Lechner" <dlechner@baylibre.com>,
"Guenter Roeck" <groeck@chromium.org>,
"Jagath Jog J" <jagathjog1996@gmail.com>,
"Javier Carrasco" <javier.carrasco.cruz@gmail.com>,
"Jean-Baptiste Maneyrol" <jean-baptiste.maneyrol@tdk.com>,
"Jerome Brunet" <jbrunet@baylibre.com>,
"Jinseob Kim" <kimjinseob88@gmail.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Kevin Hilman" <khilman@baylibre.com>,
"Lorenzo Bianconi" <lorenzo@kernel.org>,
"Martin Blumenstingl" <martin.blumenstingl@googlemail.com>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Nuno Sá" <nuno.sa@analog.com>,
"Remi Buisson" <remi.buisson@tdk.com>
Cc: chrome-platform@lists.linux.dev,
linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org, Marco Elver <elver@google.com>,
Bart Van Assche <bvanassche@acm.org>
Subject: Re: [PATCH v4 4/9] iio: accel: kionix-kx022a: annotate the lock helpers
Date: Wed, 28 Oct 2026 08:16:11 +0200 [thread overview]
Message-ID: <9e9a2f4b-b6d6-4faf-95f2-e227b41d27eb@gmail.com> (raw)
In-Reply-To: <20261027124954.110697-5-zoone.rupert@gmail.com>
On 27/10/2026 14:49, Rupesh Majhi wrote:
> kx022a_turn_off_lock() returns with data->mutex held when it succeeds,
> and kx022a_turn_on_unlock() releases it. Annotate both so context
> analysis follows the lock into the callers.
>
> Signed-off-by: Rupesh Majhi <zoone.rupert@gmail.com>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Thanks.
--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland
~~ When things go utterly wrong vim users can always type :help! ~~
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next prev parent reply other threads:[~2026-10-28 6:16 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 12:49 [PATCH v4 0/9] iio: enable context analysis for all drivers Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 12:49 ` [PATCH v4 1/9] iio: adc: qcom-spmi-adc5-gen3: fix lock annotations on mutex helpers Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 12:49 ` [PATCH v4 2/9] iio: core: annotate the conditional mode claims Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-28 3:18 ` Jonathan Cameron
2026-10-28 3:18 ` Jonathan Cameron
2026-10-28 3:25 ` Jonathan Cameron
2026-10-28 3:25 ` Jonathan Cameron
2026-10-27 12:49 ` [PATCH v4 3/9] iio: core: mark the mode lock helpers __context_unsafe Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 12:49 ` [PATCH v4 4/9] iio: accel: kionix-kx022a: annotate the lock helpers Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-28 6:16 ` Matti Vaittinen [this message]
2026-10-28 6:16 ` Matti Vaittinen
2026-10-27 12:49 ` [PATCH v4 5/9] iio: adc: meson_saradc: " Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 13:08 ` sashiko-bot
2026-10-27 12:49 ` [PATCH v4 6/9] iio: buffer-dma: annotate the queue " Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 12:49 ` [PATCH v4 7/9] iio: light: opt3001: mark the interrupt handler __context_unsafe Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 12:49 ` [PATCH v4 8/9] iio: light: veml6031x00: annotate the event enable helpers Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 16:52 ` Javier Carrasco
2026-10-27 16:52 ` Javier Carrasco
2026-10-27 12:49 ` [PATCH v4 9/9] iio: enable context analysis for all drivers Rupesh Majhi
2026-10-27 12:49 ` Rupesh Majhi
2026-10-27 15:09 ` Kim Jinseob
2026-10-27 15:09 ` Kim Jinseob
2026-10-27 16:14 ` Andy Shevchenko
2026-10-27 16:14 ` Andy Shevchenko
2026-10-27 17:21 ` Marco Elver
2026-10-27 17:21 ` Marco Elver
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=9e9a2f4b-b6d6-4faf-95f2-e227b41d27eb@gmail.com \
--to=mazziesaccount@gmail.com \
--cc=andy@kernel.org \
--cc=bleung@chromium.org \
--cc=bvanassche@acm.org \
--cc=chrome-platform@lists.linux.dev \
--cc=dlechner@baylibre.com \
--cc=elver@google.com \
--cc=groeck@chromium.org \
--cc=jagathjog1996@gmail.com \
--cc=javier.carrasco.cruz@gmail.com \
--cc=jbrunet@baylibre.com \
--cc=jean-baptiste.maneyrol@tdk.com \
--cc=jic23@kernel.org \
--cc=khilman@baylibre.com \
--cc=kimjinseob88@gmail.com \
--cc=lanzano.alex@gmail.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=nuno.sa@analog.com \
--cc=remi.buisson@tdk.com \
--cc=zoone.rupert@gmail.com \
/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.