mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
This fixes a bug introduced with commitc05c4186bb("KVM: s390: add floating irq controller"). get_all_floating_irqs() does copy_to_user() while holding a spin lock. Let's fix this by filling a temporary buffer first and copy it to userspace after giving up the lock. Cc: <[email protected]> # 3.18+:69a8d45626KVM: s390: no need to hold... Reviewed-by: David Hildenbrand <[email protected]> Signed-off-by: Jens Freimann <[email protected]> Signed-off-by: Christian Borntraeger <[email protected]> Acked-by: Cornelia Huck <[email protected]>
This directory contains specific device bindings for KVM_CAP_DEVICE_CTRL.