diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-05-15 00:44:52 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-05-15 04:52:51 +0200 |
commit | 475dae385497dde3f25271ce77b526a1e54a472a (patch) | |
tree | 34bc7e41b259273c74034e507907467be75ff67f /Kconfig | |
parent | rapidio: fix a NULL pointer dereference when create_workqueue() fails (diff) | |
download | linux-475dae385497dde3f25271ce77b526a1e54a472a.tar.xz linux-475dae385497dde3f25271ce77b526a1e54a472a.zip |
kernel/sysctl.c: 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 *.
Link: http://lkml.kernel.org/r/20190304094037.57756-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions