Re: [PATCH v1] net-sysfs: Switch to bitmap_zalloc()

2019-03-04 Thread David Miller
From: Andy Shevchenko Date: Mon, 4 Mar 2019 11:48:56 +0200 > 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 Applied, thanks Andy.

[PATCH v1] net-sysfs: Switch to bitmap_zalloc()

2019-03-04 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 --- net/core/net-sysfs.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/net/core/net-sysfs.c