[PATCH] crypto: atmel - fix data types for __be{32,64}

2019-10-16 Thread Ben Dooks (Codethink)
) drivers/crypto/atmel-aes.c:1888:63:expected unsigned int drivers/crypto/atmel-aes.c:1888:63:got restricted __le32 [usertype] Signed-off-by: Ben Dooks --- Cc: Herbert Xu Cc: "David S. Miller" Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Cc: linux-crypto@vger.

[PATCH] crypto: inside-secure - fix type of buffer in eip197_write_firmware

2019-10-16 Thread Ben Dooks (Codethink)
/crypto/inside-secure/safexcel.c:306:17: warning: cast to restricted __be32 Signed-off-by: Ben Dooks --- Cc: Antoine Tenart Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-crypto@vger.kernel.org Cc: linux-ker...@vger.kernel.org --- drivers/crypto/inside-secure/safexcel.c | 6 +++-

[PATCH] crypto: inside-secure - fix unexported warnings

2019-10-16 Thread Ben Dooks (Codethink)
ers/crypto/inside-secure/safexcel.c:1794:5: warning: symbol 'pcireg_rc' was not declared. Should it be static? drivers/crypto/inside-secure/safexcel.c:1797:5: warning: symbol 'ofreg_rc' was not declared. Should it be static? Signed-off-by: Ben Dooks --- Cc: Antoine Tenart Cc: He

[PATCH] hwrng: ka-sa - fix __iomem on registers

2019-10-15 Thread Ben Dooks
: incorrect type in assignment (different address spaces) drivers/char/hw_random/ks-sa-rng.c:194:28:expected struct trng_regs *reg_rng drivers/char/hw_random/ks-sa-rng.c:194:28:got void [noderef] * Signed-off-by: Ben Dooks --- Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: linux-crypto

[PATCH] hwrng: omap3-rom fix pointer warning for omap3_rom_rng_idle

2019-10-15 Thread Ben Dooks
The omap3_rom_rng_idle function takes a pointer, so give it a pointer instead of a plain 0. This fixes the following sparse warning: drivers/char/hw_random/omap3-rom-rng.c:115:28: warning: Using plain integer as NULL pointer Signed-off-by: Ben Dooks --- Cc: Arnd Bergmann Cc: Greg Kroah

[PATCH] crypto: jitter - add header to fix buildwarnings

2019-10-09 Thread Ben Dooks
. Should it be static? crypto/jitterentropy-kcapi.c:93:6: warning: symbol 'jent_get_nstime' was not declared. Should it be static? Signed-off-by: Ben Dooks --- crypto/jitterentropy-kcapi.c | 8 +--- crypto/jitterentropy.c | 7 +-- crypto/jitterentropy.h |

Re: [[PATCH v2] 11/11] hwrng: exynos - fixup IO accesors

2016-06-22 Thread Ben Dooks
On 22/06/16 11:37, Herbert Xu wrote: > Ben Dooks wrote: >> The __raw IO functions are not endian safe, so use the readl_relaxed >> and writel_relaxed versions of these. >> >> Signed-off-by: Ben Dooks > > This patch has already been merged. > > Cheers, A

[[PATCH v2] 11/11] hwrng: exynos - fixup IO accesors

2016-06-21 Thread Ben Dooks
The __raw IO functions are not endian safe, so use the readl_relaxed and writel_relaxed versions of these. Signed-off-by: Ben Dooks --- CC: Matt Mackall CC: Krzysztof Kozlowski CC: linux-crypto@vger.kernel.org CC: linux-arm-ker...@lists.infradead.org CC: linux-samsung-...@vger.kernel.org

Re: [WIP] crypto: add support for Orion5X crypto engine

2009-05-07 Thread Ben Dooks
On Thu, May 07, 2009 at 11:03:21PM +0200, Sebastian Andrzej Siewior wrote: > update since last post, unfortunately not much: > - interrupt handler fix > - s/mav/mv > > the dm-crypt still crashes but a few delays seem to help argh > > Signed-off-by: Sebastian Andrzej Siewior > --- > drivers/