]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit29ca1c5a4b4b4da8741f1a1204c3ab22f3cb1059
tree30f490b5df0bb8bac0a89007ef1003ff3767ae33
parent214fa1c43758bcc5f488bbe558c3e7dd325ac077
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