Thread (15 messages) 15 messages, 7 authors, 2025-07-14

Re: [PATCH v13 3/7] i2c: Add Nuvoton NCT6694 I2C support

From: Wolfram Sang <wsa+renesas@sang-engineering.com>
Date: 2025-07-14 07:37:34
Also in: linux-can, linux-gpio, linux-hwmon, linux-i2c, linux-rtc, linux-usb, linux-watchdog, lkml

+		if (msg_temp->len > 64)
+			return -EPROTO;
Please populate and use 'struct i2c_adapter_quirks' so the I2C core can
handle the checks for you. At least max_read_len and max_write_len. But
please also do check the other flags. Usually, USB adapters have way
more limitations than the buffer size.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help