Re: [PATCH] media: dvb: usb: Fix WARNING in dib0700_i2c_xfer/usb_submit_urb

Wolfram Sang
2025-03-25T19:57:01Z

[-- Attachment #1: Type: text/plain, Size: 169 bytes --]

> + 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?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]