mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 22:31:47 -04:00
bitmap-str: Add missing header(s)
bitmap-str.h is not self-contained, it uses bool type that is provided in types.h and it uses __user annotation that is guaranteed to be included with types.h. Add missing header(s) to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Yury Norov <yury.norov@gmail.com>
This commit is contained in:
committed by
Yury Norov
parent
99c712d788
commit
89a44a8088
@@ -2,6 +2,8 @@
|
||||
#ifndef __LINUX_BITMAP_STR_H
|
||||
#define __LINUX_BITMAP_STR_H
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits);
|
||||
int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits);
|
||||
int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, int nmaskbits,
|
||||
|
||||
Reference in New Issue
Block a user