Thread (15 messages) 15 messages, 2 authors, 12d ago

Re: [PATCH 2/7] i2c: nomadik: optimize layout of struct nmk_i2c_dev

From: Dmitry Guzman <hidden>
Date: 2026-07-01 14:14:02
Also in: linux-arm-kernel, linux-i2c, lkml

On Thu, 25 Jun 2026 00:36:49 +0200
Linus Walleij [off-list ref] wrote:
Hi Dmitry,

thanks for your patch!

Also nice to see some kernel contributions directly from
MobilEye!
Thanks for you review!
quoted
 struct nmk_i2c_dev {
        struct i2c_vendor_data          *vendor;
@@ -206,13 +206,13 @@ struct nmk_i2c_dev {
        u32                             clk_freq;
        unsigned char                   tft;
        unsigned char                   rft;
^
Maybe you want to take the opportunity to change these
two into u8 if you're anyway changing the layout of this
struct?
I'm waiting for review of patch 1 in the set. If I need to submit next
version of the patchset, I'll change these two unsigned chars, as well
as `unsigned char *buffer` in `struct i2c_nmk_client`, into u8.

Best Regards,
--
Dmitry Guzman [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help