Skip to content

Commit 0778361

Browse files
Ben NizetteLinus Torvalds
authored andcommitted
Include kernel.h from configfs.h
configfs.h uses the container_of macro and as such should include kernel.h. Signed-off-by: Ben Nizette <bn@niasdigital.com> Cc: Joel Becker <Joel.Becker@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8943f26 commit 0778361

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/linux/configfs.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
#ifdef __KERNEL__
3939

40+
#include <linux/kernel.h>
4041
#include <linux/types.h>
4142
#include <linux/list.h>
4243
#include <linux/kref.h>

0 commit comments

Comments
 (0)