From: Krzysztof Kozlowski <krzk@kernel.org>
To: liquancin.mereenamathai@in.bosch.com, linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, jic23@kernel.org,
dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org,
vassilisamir@gmail.com, marcelo.schmitt1@gmail.com,
javier.carrasco.cruz@gmail.com, Xu.Zhang@cn.bosch.com,
Maoting.Bian@cn.bosch.com
Subject: Re: [PATCH v1 2/2] dt-bindings: iio driver: Add BMP390 pressure sensor device tree binding
Date: Fri, 20 Jun 2025 07:45:42 +0200 [thread overview]
Message-ID: <ca0f85f9-3908-4c7d-add3-905e9e6f634c@kernel.org> (raw)
In-Reply-To: <20250620045456.1151-3-liquancin.mereenamathai@in.bosch.com>
On 20/06/2025 06:54, liquancin.mereenamathai@in.bosch.com wrote:
> From: Liquancin Mereena Mathai <liquancin.mereenamathai@in.bosch.com>
>
Please run scripts/checkpatch.pl on the patches and fix reported
warnings. After that, run also 'scripts/checkpatch.pl --strict' on the
patches and (probably) fix more warnings. Some warnings can be ignored,
especially from --strict run, but the code here looks like it needs a
fix. Feel free to get in touch if the warning is not clear.
> Signed-off-by: Liquancin Mereena Mathai <liquancin.mereenamathai@in.bosch.com>
A nit, subject: drop second/last, redundant "device tree bindings". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
And drop driver. Bindings are not for drivers.
There are several issues in the binding at first glance, but I won't
review it due to lack of testing. Look at other bindings and don't
repeat common mistakes. Just take other RECENT binding as starting point.
<form letter>
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
Tools like b4 or scripts/get_maintainer.pl provide you proper list of
people, so fix your workflow. Tools might also fail if you work on some
ancient tree (don't, instead use mainline) or work on fork of kernel
(don't, instead use mainline). Just use b4 and everything should be
fine, although remember about `b4 prep --auto-to-cc` if you added new
patches to the patchset.
You missed at least devicetree list (maybe more), so this won't be
tested by automated tooling. Performing review on untested code might be
a waste of time.
Please kindly resend and include all necessary To/Cc entries.
</form letter>
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-06-20 5:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-20 4:54 [PATCH v1 0/2] Add BMP390 IIO driver, device tree bindings and support liquancin.mereenamathai
2025-06-20 4:54 ` [PATCH v1 1/2] Add the iio driver for bosch pressure sensor bmp390. The bmp390 is a pressure sensor module. It will support SPI and I2C protocol based on configuration liquancin.mereenamathai
2025-06-20 5:49 ` Krzysztof Kozlowski
2025-06-20 13:19 ` David Lechner
2025-06-21 8:55 ` kernel test robot
2025-06-22 16:08 ` Jonathan Cameron
2025-06-20 4:54 ` [PATCH v1 2/2] dt-bindings: iio driver: Add BMP390 pressure sensor device tree binding liquancin.mereenamathai
2025-06-20 5:45 ` Krzysztof Kozlowski [this message]
2025-06-22 15:06 ` [PATCH v1 0/2] Add BMP390 IIO driver, device tree bindings and support Jonathan Cameron
2025-06-22 22:34 ` Vasileios Amoiridis
2025-06-23 7:07 ` Andy Shevchenko
2025-06-23 7:37 ` Mereena Mathai Liquancin (MS/EHM4-BST)
2025-06-23 21:59 ` Vasileios Amoiridis
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=ca0f85f9-3908-4c7d-add3-905e9e6f634c@kernel.org \
--to=krzk@kernel.org \
--cc=Maoting.Bian@cn.bosch.com \
--cc=Xu.Zhang@cn.bosch.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=javier.carrasco.cruz@gmail.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=liquancin.mereenamathai@in.bosch.com \
--cc=marcelo.schmitt1@gmail.com \
--cc=nuno.sa@analog.com \
--cc=vassilisamir@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.