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] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Feb 2016 20:33:08 +0100
From:	Wolfram Sang <wsa@...-dreams.de>
To:	Ray Jui <rjui@...adcom.com>
Cc:	linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org,
	bcm-kernel-feedback-list@...adcom.com,
	Icarus Chau <ichau@...adcom.com>
Subject: Re: [PATCH 3/3] i2c: iproc: Support larger TX transfer

> @@ -293,7 +360,7 @@ static const struct i2c_algorithm bcm_iproc_algo = {
>  static struct i2c_adapter_quirks bcm_iproc_i2c_quirks = {
>  	/* need to reserve one byte in the FIFO for the slave address */
>  	.max_read_len = M_TX_RX_FIFO_SIZE - 1,
> -	.max_write_len = M_TX_RX_FIFO_SIZE - 1,
> +	.max_write_len = 65535,

You can simply remove this line because len is u16 in the i2c core anyhow.


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ