[no subject]

From: Ian Molton
Date: Wed Nov 25 2009 - 19:26:26 EST


This patchset updates the hw_random core to use more efficient buffering.
As an example, the virtio-rng driver is converted to the new API, which fixes
a buffering bug provoked during my work writing a virtio qdev for qemu.

The old API is preserved and all existing drivers should continue to function
without change.

Summary:
drivers/char/hw_random/core.c | 120 ++++++++++++++++++++++--------------
drivers/char/hw_random/virtio-rng.c | 79 ++++++++---------------
include/linux/hw_random.h | 9 +-
3 files changed, 110 insertions(+), 98 deletions(-)

[PATCH 1/2] hw_random: core updates to allow more efficient drivers
[PATCH 2/2] virtio: Convert virtio-rng to the new API
--
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/