mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
Before we really unregister the hwrng device, reading will get stuck if the virtio device is reset. We should return error for reading when we start to remove the device. Signed-off-by: Amos Kong <[email protected]> Reviewed-by: Amit Shah <[email protected]> Cc: [email protected] Signed-off-by: Rusty Russell <[email protected]>