The header which contained the declaration for kcalloc() was not inlcuded. Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx> Signed-off-by: Frank Haverkamp <haver@xxxxxxxxxxxxxxxxxx> --- drivers/misc/genwqe/card_base.h | 1 + drivers/misc/genwqe/card_ddcb.c | 1 + 2 files changed, 2 insertions(+) --- a/drivers/misc/genwqe/card_base.h +++ b/drivers/misc/genwqe/card_base.h @@ -36,6 +36,7 @@ #include <linux/io.h> #include <linux/version.h> #include <linux/debugfs.h> +#include <linux/slab.h> #include <linux/genwqe/genwqe_card.h> #include "genwqe_driver.h" --- a/drivers/misc/genwqe/card_ddcb.c +++ b/drivers/misc/genwqe/card_ddcb.c @@ -38,6 +38,7 @@ #include <linux/interrupt.h> #include <linux/crc-itu-t.h> +#include "card_base.h" #include "card_ddcb.h" /* -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html