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]
Date:	Wed, 16 Dec 2015 11:43:27 +0100
From:	Wolfram Sang <wsa@...-dreams.de>
To:	Mans Rullgard <mans@...sr.com>
Cc:	linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/2] i2c: xlr: fix extra read/write at end of rx
 transfer

On Tue, Dec 15, 2015 at 11:15:05PM +0000, Mans Rullgard wrote:
> The BYTECNT register holds the transfer size minus one.  Setting it to
> the correct value removes the need for a dummy read/write at the end of
> each transfer.  As zero-length transfers are not supported, do not
> advertise I2C_FUNC_SMBUS_QUICK.
> 
> In other words, this patch makes the driver transfer the number of bytes
> requested unless this is zero, which is not supported by the hardware
> and is thus refused.
> 
> Signed-off-by: Mans Rullgard <mans@...sr.com>

Applied to for-next, thanks!


Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)

Powered by blists - more mailing lists