OSDN Git Service

bridge: Switch to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 30 Aug 2018 10:33:18 +0000 (13:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Sep 2018 06:13:04 +0000 (23:13 -0700)
commit459479da9769b2c91425a8edae16f40f7082a1fc
tree80af9b0134f7c7eccb2852fc0b304dace1c69076
parent0340376ecc89568825f6c5628c0c23f8daadbc61
bridge: Switch to bitmap_zalloc()

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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c
net/bridge/br_vlan.c