[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d0fd60d7-5660-42ed-b1c7-4dfd6b8e74b0@rowland.harvard.edu>
Date: Tue, 25 Mar 2025 17:47:53 -0400
From: Alan Stern <stern@...land.harvard.edu>
To: Wolfram Sang <wsa+renesas@...g-engineering.com>,
syzbot <syzbot+c38e5e60d0041a99dbf5@...kaller.appspotmail.com>,
gregkh@...uxfoundation.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH] media: dvb: usb: Fix WARNING in
dib0700_i2c_xfer/usb_submit_urb
On Tue, Mar 25, 2025 at 08:56:57PM +0100, Wolfram Sang wrote:
>
> > + static const struct i2c_adapter_quirks i2c_usb_quirks = {
> > + .flags = I2C_AQ_NO_ZERO_LEN_READ,
> > + };
>
> Why didn't you create the static struct outside of probe?
Because it's used only in that one function. But if you prefer, I will
move the definition outside of the function. It doesn't make any real
difference.
Alan Stern
Powered by blists - more mailing lists