]> git.baikalelectronics.ru Git - kernel.git/commit
hwrng: core - Prevent too-small buffer sizes
authorIan Molton <ian.molton@collabora.co.uk>
Thu, 3 Dec 2009 05:50:42 +0000 (13:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Dec 2009 05:50:42 +0000 (13:50 +0800)
commite9ce4970b0f4f7cf0f9f77d66561d11ca710f584
treeec1bd56b152d2b5a53a20aa7fde21a60ce794c9c
parent7615abc121af879a9246d13b6580ea57f42eb282
hwrng: core - Prevent too-small buffer sizes

This patch prevents the hw_random core using too small of a buffer
on machines with small cacheline sizes.

Signed-off-by: Ian Molton <ian.molton@collabora.co.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c