From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: Tommaso Merciai <tomm.merciai@gmail.com>
Cc: laurent.pinchart@ideasonboard.com, martin.hecht@avnet.eu,
michael.roeder@avnet.eu, linuxfancy@googlegroups.com,
mhecht73@gmail.com, christophe.jaillet@wanadoo.fr,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Hans de Goede <hdegoede@redhat.com>,
Hans Verkuil <hverkuil-cisco@xs4all.nl>,
Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
Alain Volmat <alain.volmat@foss.st.com>,
Paul Elder <paul.elder@ideasonboard.com>,
Gerald Loacker <gerald.loacker@wolfvision.net>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Daniel Scally <djrscally@gmail.com>,
Nicholas Roth <nicholas@rothemail.net>,
Linus Walleij <linus.walleij@linaro.org>,
linux-kernel@vger.kernel.org, linux-media@vger.kernel.org
Subject: Re: [PATCH v15 3/3] media: i2c: Add support for alvium camera
Date: Tue, 12 Dec 2023 12:34:49 +0000 [thread overview]
Message-ID: <ZXhTaaXZf2WMkAgr@kekkonen.localdomain> (raw)
In-Reply-To: <ZXhPabGpUDJNSgiZ@tom-HP-ZBook-Fury-15-G7-Mobile-Workstation>
Hi Tommaso,
On Tue, Dec 12, 2023 at 01:17:45PM +0100, Tommaso Merciai wrote:
> Hi Sakari,
> Just a clarification about the following warnings:
>
> Fixed on my side with:
>
> CHECK: Assignment operator '=' should be on the previous line
>
> - alvium->is_mipi_fmt_avail[ALVIUM_BIT_YUV420_8_LEG]
> - = avail_fmt->yuv420_8_leg;
> + alvium->is_mipi_fmt_avail[ALVIUM_BIT_YUV420_8_LEG] =
> + avail_fmt->yuv420_8_leg;
This one seems good.
>
> CHECK: line length of 81 exceeds 80 columns
> #1085: FILE: drivers/media/i2c/alvium-csi2.c:1085:
> + if (!alvium->is_mipi_fmt_avail[alvium_csi2_fmts[fmt].fmt_av_bit])
>
> CHECK: line length of 81 exceeds 80 columns
> #1102: FILE: drivers/media/i2c/alvium-csi2.c:1102:
> + if (!alvium->is_mipi_fmt_avail[alvium_csi2_fmts[fmt].fmt_av_bit])
>
>
> Fixed on my side with:
>
> /* Create the alvium_csi2 fmt array from formats available */
> for (fmt = 0; fmt < ALVIUM_NUM_SUPP_MIPI_DATA_FMT; fmt++) {
> - if (!alvium->is_mipi_fmt_avail[alvium_csi2_fmts[fmt].fmt_av_bit])
> + if (!alvium->is_mipi_fmt_avail[alvium_csi2_fmts[fmt]
> + .fmt_av_bit])
I wouldn't introduce a line break in these two cases.
> continue;
>
> Can be ok for you?
> If yes I'm going to prepare the patch on top of your media_tree/master
> branch.
Ack.
--
Sakari Ailus
prev parent reply other threads:[~2023-12-12 12:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-04 9:47 [PATCH v15 0/3] media: i2c: Add support for alvium camera Tommaso Merciai
2023-12-04 9:47 ` [PATCH v15 1/3] dt-bindings: vendor-prefixes: Add prefix alliedvision Tommaso Merciai
2023-12-04 9:47 ` [PATCH v15 2/3] media: dt-bindings: alvium: add document YAML binding Tommaso Merciai
2023-12-04 9:47 ` [PATCH v15 3/3] media: i2c: Add support for alvium camera Tommaso Merciai
2023-12-12 11:38 ` Sakari Ailus
2023-12-12 11:44 ` Tommaso Merciai
2023-12-12 11:47 ` Sakari Ailus
2023-12-12 12:17 ` Tommaso Merciai
2023-12-12 12:34 ` Sakari Ailus [this message]
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=ZXhTaaXZf2WMkAgr@kekkonen.localdomain \
--to=sakari.ailus@linux.intel.com \
--cc=alain.volmat@foss.st.com \
--cc=andy.shevchenko@gmail.com \
--cc=broonie@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=djrscally@gmail.com \
--cc=gerald.loacker@wolfvision.net \
--cc=hdegoede@redhat.com \
--cc=hverkuil-cisco@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linuxfancy@googlegroups.com \
--cc=martin.hecht@avnet.eu \
--cc=mchehab@kernel.org \
--cc=mhecht73@gmail.com \
--cc=michael.roeder@avnet.eu \
--cc=nicholas@rothemail.net \
--cc=paul.elder@ideasonboard.com \
--cc=tomi.valkeinen@ideasonboard.com \
--cc=tomm.merciai@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox