Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andy Shevchenko and committed by
Yury Norov
89a44a80 99c712d7

+2
+2
include/linux/bitmap-str.h
··· 2 2 #ifndef __LINUX_BITMAP_STR_H 3 3 #define __LINUX_BITMAP_STR_H 4 4 5 + #include <linux/types.h> 6 + 5 7 int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits); 6 8 int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits); 7 9 int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, int nmaskbits,