Re: [PATCH 08/10] crypto: scatterwak - Add scatterwalk_sg_copychunks

2016-03-18 Thread Stephan Mueller
Am Freitag, 18. März 2016, 20:32:05 schrieb Tudor Ambarus: Hi Tudor, > This patch adds the function scatterwalk_sg_copychunks which writes > a chunk of data from a scatterwalk to another scatterwalk. > It will be used by caam driver to remove the leading zeros of RSA's > algorithm output. The fo

[PATCH 1/2] crypto: marvell/cesa - fix memory leak

2016-03-18 Thread Boris Brezillon
Crypto requests are not guaranteed to be finalized (->final() call), and can be freed at any moment, without getting any notification from the core. This can lead to memory leaks of the ->cache buffer. Make this buffer part of the request object, and allocate an extra buffer from the DMA cache poo

Re: [PATCH v2 1/3] Documentation: devicetree: add Freescale RNGC binding

2016-03-18 Thread Rob Herring
On Fri, Mar 11, 2016 at 03:06:38PM +0100, Steffen Trumtrar wrote: > Add binding documentation for the Freescale RNGC found on > some i.MX2/3/5 SoCs. > > Signed-off-by: Steffen Trumtrar > --- > Documentation/devicetree/bindings/rng/mxc_rngc.txt | 16 The MXC name is still not dea

Re: [PATCH] crypto: marvell/cesa - forward devm_ioremap_resource() error code

2016-03-18 Thread Herbert Xu
On Thu, Mar 17, 2016 at 10:47:10AM +0100, Boris Brezillon wrote: > Forward devm_ioremap_resource() error code instead of returning > -ENOMEM. > > Signed-off-by: Boris Brezillon > Reported-by: Russell King - ARM Linux > Fixes: f63601fd616a ("crypto: marvell/cesa - add a new driver for Marvell's

Re: [PATCH] x86: Avoid undefined behavior in macro expansion

2016-03-18 Thread Al Viro
On Wed, Mar 16, 2016 at 11:48:49PM -0300, Vinicius Tinti wrote: > C11 standard (at 6.10.3.3) says that ## operator (paste) has undefined > behavior when one of the result operands is not a valid preprocessing > token. > > Therefore the macro expansion may depend on compiler implementation > which