Skip to contentSkip to conversation

KVM: s390: no need to inititalize kvm->arch members to 0

PATCH Cornelia Huck 1 participant 1 message Apr 30, 2018 1 message not in the archive s390

lore
Share & tools
lore

Cornelia Huck

author Reviewed-by
#1 lore raw
In reply to a message not in the archive
Quoted 1 line · On Fri, 27 Apr 2018 14:36:12 +0200 David Hildenbrand <[email protected]> wrote:

KVM is allocated with kzalloc(), so these members are already 0.

I suppose that we will always have a zeroed allocation here, or things may suddenly break anyway.

Quoted 5 lines
---
 arch/s390/kvm/kvm-s390.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)