block/blk-core.c uses ALLOW_ERROR_INJECTION(), which is defined in asm-generic/error-injection.h. It currently relies on this header being included indirectly through linux/module.h -> linux/error-injection.h.
Add the missing include in preparation for removing the linux/error-injection.h include from linux/module.h. Signed-off-by: Petr Pavlu <[email protected]> --- block/blk-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/blk-core.c b/block/blk-core.c index 196bccf27f58..324a2d1bb727 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -40,6 +40,7 @@ #include <linux/part_stat.h> #include <linux/sched/sysctl.h> #include <linux/blk-crypto.h> +#include <linux/error-injection.h> #define CREATE_TRACE_POINTS #include <trace/events/block.h> -- 2.55.0
