lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55e6769b1d7e890f4211b44f821b11654a5b9f4d.camel@microchip.com>
Date:   Fri, 23 Sep 2022 13:51:52 +0000
From:   <Tharunkumar.Pasumarthi@...rochip.com>
To:     <wsa@...nel.org>
CC:     <UNGLinuxDriver@...rochip.com>, <krzk@...nel.org>, <arnd@...db.de>,
        <andriy.shevchenko@...ux.intel.com>, <robh@...nel.org>,
        <semen.protsenko@...aro.org>, <sven@...npeter.dev>,
        <jarkko.nikula@...ux.intel.com>, <linux-kernel@...r.kernel.org>,
        <linux-i2c@...r.kernel.org>, <jsd@...ihalf.com>, <olof@...om.net>,
        <rafal@...ecki.pl>
Subject: Re: [PATCH v4 i2c-master] i2c: microchip: pci1xxxx: Add driver for
 I2C host controller in multifunction endpoint of pci1xxxx switch

On Sat, 2022-09-17 at 23:01 +0200, Wolfram Sang wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the
> content is safe
> If you can't do I2C_FUNC_SMBUS_QUICK, then you need an i2c_adapter_quirk
> struct saying that your HW cannot do 0 byte length transfers.
>
> Also, a lot can be simplified here, e.g. I2C_FUNC_SMBUS_BYTE covers both
> cases, read and write.

Okay. I will update code.

> Why not use then simply 0 instead of a define and a comment?

Okay, I will update.

> I need to make sure: do you intentionally want autoprobing for SPD? I
> ask because it could be needed but it costs boottime when not needed.
> And changing the class once exposed is troublesome.

Autoprobing is not required. I can modify code. 

All these comments need to be addressed now or can be fixed later after the
patch is applied?


Thanks,
Tharun Kumar P

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ