From: Wolfram Sang <wsa+renesas@sang-engineering.com>
To: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
syzbot+721071c10f3c7e4e5dcb@syzkaller.appspotmail.com,
lvc-project@linuxtesting.org,
Alan Stern <stern@rowland.harvard.edu>,
gregkh@linuxfoundation.org
Subject: Re: [PATCH v2] media: dvb-usb-v2: disallow 0-length I2C reads
Date: Wed, 21 May 2025 12:22:57 +0200 [thread overview]
Message-ID: <aC2pgdt5IgzCWNMX@shikoro> (raw)
In-Reply-To: <20250520135216.2509505-1-n.zhandarovich@fintech.ru>
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
> +static const struct i2c_adapter_quirks i2c_usb_quirks = {
> + .flags = I2C_AQ_NO_ZERO_LEN_READ,
> +};
Maybe it makes sense to add a comment like
/* would create an invalid usb_control_msg */
?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2025-05-21 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-20 13:52 [PATCH v2] media: dvb-usb-v2: disallow 0-length I2C reads Nikita Zhandarovich
2025-05-21 9:24 ` Wolfram Sang
2025-05-21 10:22 ` Wolfram Sang [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=aC2pgdt5IgzCWNMX@shikoro \
--to=wsa+renesas@sang-engineering.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
--cc=mchehab@kernel.org \
--cc=n.zhandarovich@fintech.ru \
--cc=stern@rowland.harvard.edu \
--cc=syzbot+721071c10f3c7e4e5dcb@syzkaller.appspotmail.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