All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Seifelden Abdelmonem" <saif.elden.hatim@gmail.com>
Cc: dri-devel@lists.freedesktop.org, media-ci@linuxtv.org
Subject: Re: [RFC PATCH 1/3] media: i2c: ov13b10: add an I2C device ID table
Date: Tue, 03 Nov 2026 16:02:08 +0000	[thread overview]
Message-ID: <sashiko-outbox-195688@kernel.org> (raw)
In-Reply-To: <20261103155313.114347-2-saif.elden.hatim@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] media: i2c: ov13b10: positional initializer used in ov13b10_i2c_ids
--

commit 21e45a243d633457ccb952eaf0648a9a4b43242c
Author: Seifelden Abdelmonem <saif.elden.hatim@gmail.com>

media: i2c: ov13b10: add an I2C device ID table

This commit adds an I2C device ID table to the ov13b10 driver so that it
can bind to I2C clients instantiated by name without an ACPI companion,
such as on AMD ISP4 platforms.

> diff --git a/drivers/media/i2c/ov13b10.c b/drivers/media/i2c/ov13b10.c
> index 242a958341267..d33fb70328946 100644
> --- a/drivers/media/i2c/ov13b10.c
> +++ b/drivers/media/i2c/ov13b10.c
> @@ -1706,6 +1706,12 @@ static const struct acpi_device_id ov13b10_acpi_ids[] = {
>  MODULE_DEVICE_TABLE(acpi, ov13b10_acpi_ids);
>  #endif
>  
> +static const struct i2c_device_id ov13b10_i2c_ids[] = {
> +	{ "ov13b10" },

[Severity: Low]
This isn't a bug, but should the new entry in ov13b10_i2c_ids in
drivers/media/i2c/ov13b10.c use a named initializer ({ .name = "ov13b10" })
instead of a positional initializer to follow I2C subsystem conventions?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261103155313.114347-1-saif.elden.hatim@gmail.com?part=1

  reply	other threads:[~2026-11-03 16:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03 15:53 [RFC PATCH 0/3] GZ302 rear camera (OMNI13B1, OV13B10) board data Seifelden Abdelmonem
2026-11-03 15:53 ` [RFC PATCH 1/3] media: i2c: ov13b10: add an I2C device ID table Seifelden Abdelmonem
2026-11-03 16:02   ` sashiko-bot [this message]
2026-11-03 15:53 ` [RFC PATCH 2/3] platform/x86: amd_isp4: add the OV13B10 (OMNI13B1) board configuration Seifelden Abdelmonem
2026-11-10 12:02   ` Sakari Ailus
2026-11-03 15:53 ` [RFC PATCH 3/3] drm/amdgpu: add the OMNI13B1 (OV13B10) ISP sensor Seifelden Abdelmonem
2026-11-03 16:28   ` sashiko-bot

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-195688@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=media-ci@linuxtv.org \
    --cc=saif.elden.hatim@gmail.com \
    --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.