Skip to content

Commit 8d3ef55

Browse files
alexb0torvalds
authored andcommitted
cmdline-parser: fix build
Fix following errors: include/linux/cmdline-parser.h:17:12: error: 'BDEVNAME_SIZE' undeclared here block/cmdline-parser.c:17:2: error: implicit declaration of function 'kzalloc' Signed-off-by: Alexander Beregalov <alexander.beregalov@intel.com> Cc: CaiZhiyong <caizhiyong@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a99b706 commit 8d3ef55

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/linux/cmdline-parser.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#define CMDLINEPARSEH
99

1010
#include <linux/blkdev.h>
11+
#include <linux/fs.h>
12+
#include <linux/slab.h>
1113

1214
/* partition flags */
1315
#define PF_RDONLY 0x01 /* Device is read only */

0 commit comments

Comments
 (0)