From: Andy Shevchenko Date: Thu, 17 Apr 2025 16:17:16 +0000 (+0300) Subject: bitmap-str: Add missing header(s) X-Git-Tag: v6.16-rc1~70^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89a44a808814d4717a8bf945ddebd5c39bfffcf4;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Yury Norov --- diff --git a/include/linux/bitmap-str.h b/include/linux/bitmap-str.h index d758b4809a3a8..53d3e1b32d3d4 100644 --- a/include/linux/bitmap-str.h +++ b/include/linux/bitmap-str.h @@ -2,6 +2,8 @@ #ifndef __LINUX_BITMAP_STR_H #define __LINUX_BITMAP_STR_H +#include + 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,