Commit 8d3ef556 authored by Alexander Beregalov's avatar Alexander Beregalov Committed by Linus Torvalds

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: default avatarAlexander Beregalov <alexander.beregalov@intel.com>
Cc: CaiZhiyong <caizhiyong@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a99b7069
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#define CMDLINEPARSEH #define CMDLINEPARSEH
#include <linux/blkdev.h> #include <linux/blkdev.h>
#include <linux/fs.h>
#include <linux/slab.h>
/* partition flags */ /* partition flags */
#define PF_RDONLY 0x01 /* Device is read only */ #define PF_RDONLY 0x01 /* Device is read only */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment