Re: [PATCH v1] x86/intel_rdt: Switch to bitmap_zalloc()

2018-09-06 Thread Fenghua Yu
On Thu, Aug 30, 2018 at 02:50:39PM +0300, 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/kernel/cpu/intel_rdt.c | 10

Re: [PATCH v1] x86/intel_rdt: Switch to bitmap_zalloc()

2018-09-06 Thread Fenghua Yu
On Thu, Aug 30, 2018 at 02:50:39PM +0300, 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/kernel/cpu/intel_rdt.c | 10

[PATCH v1] x86/intel_rdt: 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/kernel/cpu/intel_rdt.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH v1] x86/intel_rdt: 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/kernel/cpu/intel_rdt.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git