Re: [PATCH] random: kmalloc failure ignored in init_std_data()

From: Andrew Morton
Date: Fri Oct 09 2009 - 03:36:54 EST


On Sat, 19 Sep 2009 02:54:07 +0200 Roel Kluin <roel.kluin@xxxxxxxxx> wrote:

> kmalloc may fail so build the array into the statically allocated
> pool structures instead.

x86_64 allnoconfig:

drivers/char/random.c: In function 'extract_entropy':
drivers/char/random.c:867: error: 'struct entropy_store' has no member named 'last_data'
drivers/char/random.c:869: error: 'struct entropy_store' has no member named 'last_data'
drivers/char/random.c:871: error: 'struct entropy_store' has no member named 'last_data'
drivers/char/random.c:871: error: 'struct entropy_store' has no member named 'last_data'

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/