Re: [PATCH] hwrng: do not warn when there are no devices

2017-06-19 Thread Mike Frysinger
On Mon, Jun 19, 2017 at 2:43 AM, PrasannaKumar Muralidharan wrote: > On 19 June 2017 at 11:51, Herbert Xu wrote: >> On Sun, Jun 18, 2017 at 10:00:17PM -0700, Mike Frysinger wrote: >>> >>> in order to make tpm-rng react in the way you're implying, the TPM &

Re: [PATCH] hwrng: do not warn when there are no devices

2017-06-18 Thread Mike Frysinger
On Sun, Jun 18, 2017 at 9:12 PM, Herbert Xu wrote: > On Fri, May 12, 2017 at 01:49:52PM +0530, PrasannaKumar Muralidharan wrote: > > I leave it to Herbert to decide whether to accept this patch in > > current form or not. > > I think the correct fix would be for the TPM subsystem to signal that > i

Re: [PATCH] hwrng: do not warn when there are no devices

2017-05-12 Thread Mike Frysinger
On Fri, May 12, 2017 at 3:06 AM, PrasannaKumar Muralidharan wrote: > On 12 May 2017 at 12:22, PrasannaKumar Muralidharan wrote: > > On 12 May 2017 at 12:11, Mike Frysinger wrote: > >> On Fri, May 12, 2017 at 2:15 AM, PrasannaKumar Muralidharan wrote: > >>> On 12 May

Re: [PATCH] hwrng: do not warn when there are no devices

2017-05-11 Thread Mike Frysinger
On Fri, May 12, 2017 at 2:15 AM, PrasannaKumar Muralidharan wrote: > On 12 May 2017 at 09:47, Mike Frysinger wrote: > > From: Mike Frysinger > > > > If you build in hwrng & tpm-rng, but boot on a system that doesn't > > have a tpm (like via KVM), hwrng

[PATCH] hwrng: do not warn when there are no devices

2017-05-11 Thread Mike Frysinger
From: Mike Frysinger If you build in hwrng & tpm-rng, but boot on a system that doesn't have a tpm (like via KVM), hwrng will spam the logs every 10 seconds with the line: hwrng: no data available This isn't terribly useful, so squelch the error in the ENODEV case. For al

Re: [uclinux-dist-devel] [PATCH 2/2] crypto: bfin_crc: CRC hardware accelerator driver for BF60x family processors.

2012-06-02 Thread Mike Frysinger
On Friday 25 May 2012 05:54:14 Sonic Zhang wrote: > --- a/drivers/crypto/Kconfig > +++ b/drivers/crypto/Kconfig > > +config CRYPTO_DEV_BFIN_CRC > + tristate "Support for Blackfin CRC hareware accelerator" hardware > + depends on BF60x > + help > + Blackfin processors have CRC h

Re: [uclinux-dist-devel] [PATCH 1/2] crypto: Add new test cases for Blackfin CRC crypto driver.

2012-06-01 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part.

[PATCH] crypto/testmgr: fix uninitialized warning from gcc

2009-12-09 Thread Mike Frysinger
Since err is not set to a value if tcount is 0, gcc issues a warning: crypto/testmgr.c: In function ‘test_cprng’: crypto/testmgr.c:1204: warning: ‘err’ may be used uninitialized in this function Since this is test code, forcing initialized sanity should be fine. Signed-off-by: Mike Frysinger