Re: [PATCH v1] KVM: SVM: Switch to bitmap_zalloc()

2018-09-14 Thread Paolo Bonzini
On 30/08/2018 13:49, Andy Shevchenko wrote: > Switch to bitmap_zalloc() to show clearly what we are allocating. > Besides that it returns pointer of bitmap type instead of opaque void *. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/kvm/svm.c | 5 ++--- > 1 file changed, 2 insertions(+), 3

[PATCH v1] KVM: SVM: Switch to bitmap_zalloc()

2018-08-30 Thread Andy Shevchenko
Switch to bitmap_zalloc() to show clearly what we are allocating. Besides that it returns pointer of bitmap type instead of opaque void *. Signed-off-by: Andy Shevchenko --- arch/x86/kvm/svm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/