]> git.baikalelectronics.ru Git - kernel.git/commit
net-sysfs: Switch to bitmap_zalloc()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Mar 2019 09:48:56 +0000 (11:48 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Mar 2019 18:20:39 +0000 (10:20 -0800)
commitbfba64bb3d547344ddbb59c6c27f31a5389eb4d2
tree30f490b5df0bb8bac0a89007ef1003ff3767ae33
parent49f11a5f700d81c0928181cd57961ef14634af4c
net-sysfs: 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/core/net-sysfs.c