Skip to content

Commit 89a44a8

Browse files
andy-shevYuryNorov
authored andcommitted
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>
1 parent 99c712d commit 89a44a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/linux/bitmap-str.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#ifndef __LINUX_BITMAP_STR_H
33
#define __LINUX_BITMAP_STR_H
44

5+
#include <linux/types.h>
6+
57
int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *dst, int nbits);
68
int bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits);
79
int bitmap_print_bitmask_to_buf(char *buf, const unsigned long *maskp, int nmaskbits,

0 commit comments

Comments
 (0)