From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Xu Date: Mon, 25 Apr 2016 11:22:52 +0000 Subject: Re: [patch 1/2] crypto: mxc-scc - signedness bugs in mxc_scc_ablkcipher_req_init() Message-Id: <20160425112252.GC10114@gondor.apana.org.au> List-Id: References: <20160422095631.GC11398@mwanda> In-Reply-To: <20160422095631.GC11398@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Steffen Trumtrar , "David S. Miller" , linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org On Fri, Apr 22, 2016 at 12:56:31PM +0300, Dan Carpenter wrote: > ->src_nents and ->dst_nents are unsigned so they can't be less than > zero. I fixed this by introducing a temporary "nents" variable. > > Fixes: d293b640ebd5 ('crypto: mxc-scc - add basic driver for the MXC SCC') > Signed-off-by: Dan Carpenter Both applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt