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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM5PR0501MB209728FE8D00FA56657A2233A2B20@AM5PR0501MB2097.eurprd05.prod.outlook.com>
Date:   Sun, 20 Nov 2016 09:15:00 +0000
From:   Vadim Pasternak <vadimp@...lanox.com>
To:     Wolfram Sang <wsa-dev@...g-engineering.com>
CC:     "wsa@...-dreams.de" <wsa@...-dreams.de>,
        "linux-i2c@...r.kernel.org" <linux-i2c@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "jiri@...nulli.us" <jiri@...nulli.us>,
        Michael Shych <michaelsh@...lanox.com>
Subject: RE: [patch v8 1/1] i2c: add master driver for mellanox systems



> -----Original Message-----
> From: Wolfram Sang [mailto:wsa-dev@...g-engineering.com]
> Sent: Sunday, November 20, 2016 11:02 AM
> To: Vadim Pasternak <vadimp@...lanox.com>
> Cc: wsa@...-dreams.de; linux-i2c@...r.kernel.org; linux-
> kernel@...r.kernel.org; jiri@...nulli.us; Michael Shych
> <michaelsh@...lanox.com>
> Subject: Re: [patch v8 1/1] i2c: add master driver for mellanox systems
> 
> 
> > Possibly I should add validation for "num" parameter at the beginning of
> mlxcpld_i2c_xfer?
> 
> There is 'max_num_msgs' in the quirk structure.

Yes, I see it.
So I should just set max_num_msgs to 1, right?

Thanks you,

Vadim.
/
> 
> Thanks,
> 
>    Wolfram

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ