Re: [PATCH v1] mellanox: Switch to bitmap_zalloc()

2019-03-04 Thread David Miller
From: Andy Shevchenko Date: Mon, 4 Mar 2019 10:57:00 +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.

Re: [PATCH v1] mellanox: Switch to bitmap_zalloc()

2019-03-04 Thread David Miller
From: Jiri Pirko Date: Mon, 4 Mar 2019 12:59:46 +0100 > Mon, Mar 04, 2019 at 09:57:00AM CET, andriy.shevche...@linux.intel.com 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:

Re: [PATCH v1] mellanox: Switch to bitmap_zalloc()

2019-03-04 Thread Jiri Pirko
Mon, Mar 04, 2019 at 09:57:00AM CET, andriy.shevche...@linux.intel.com 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 Acked-by: Jiri Pirko Hoever, net-next is c

Re: [PATCH v1] mellanox: Switch to bitmap_zalloc()

2019-03-04 Thread Tariq Toukan
On 3/4/2019 10:57 AM, 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 > --- > drivers/net/ethernet/mellanox/mlx4/alloc.c | 5 ++---

[PATCH v1] mellanox: 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 --- drivers/net/ethernet/mellanox/mlx4/alloc.c | 5 ++--- drivers/net/ethernet/mellanox/mlx5/core/alloc.c| 9 +++