tree: https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git droid4-pending-v5.4 head: 3efaedc5ef6cde5bfde516b6db455b306b5ce5b7 commit: ded039eb975c1014181e2a2b6b16ae7ffabe7350 [18/26] mfd: motmdm: Add Motorola TS 27.010 serdev driver for devices like droid4 config: i386-randconfig-d002-201943 (attached as .config) compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 reproduce: git checkout ded039eb975c1014181e2a2b6b16ae7ffabe7350 # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from <command-line>:0:0: >> include/linux/mfd/motorola-mdm.h:37:25: error: field 'gsm_dlci' has incomplete type struct gsm_serdev_dlci gsm_dlci; ^~~~~~~~ >> include/linux/mfd/motorola-mdm.h:38:19: error: field 'node' has incomplete type struct list_head node; ^~~~ >> include/linux/mfd/motorola-mdm.h:39:2: error: unknown type name 'wait_queue_head_t' wait_queue_head_t read_queue; ^~~~~~~~~~~~~~~~~ >> include/linux/mfd/motorola-mdm.h:40:15: error: field 'read_fifo' has incomplete type struct kfifo read_fifo; ^~~~~~~~~ >> include/linux/mfd/motorola-mdm.h:42:2: error: unknown type name 'u16' u16 id; ^~~ >> include/linux/mfd/motorola-mdm.h:45:8: error: unknown type name 'size_t' size_t cmdlen, ^~~~~~ include/linux/mfd/motorola-mdm.h:46:28: error: unknown type name 'size_t' unsigned char *rsp, size_t rsplen); ^~~~~~ include/linux/mfd/motorola-mdm.h:48:36: error: unknown type name 'size_t' const unsigned char *buf, size_t len); ^~~~~~ include/linux/mfd/motorola-mdm.h:51:8: error: unknown type name 'size_t' size_t len); ^~~~~~ include/linux/mfd/motorola-mdm.h:53:45: error: unknown type name 'size_t' int cmdid, const unsigned char *buf, size_t count); ^~~~~~ >> include/linux/mfd/motorola-mdm.h:55:19: error: field 'list' has incomplete type struct list_head list; ^~~~ include/linux/mfd/motorola-mdm.h:60:33: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration int motmdm_register_dlci(struct device *dev, struct motmdm_dlci *mot_dlci); ^~~~~~ include/linux/mfd/motorola-mdm.h:61:36: warning: 'struct device' declared inside parameter list will not be visible outside of this definition or declaration void motmdm_unregister_dlci(struct device *dev, struct motmdm_dlci *mot_dlci); ^~~~~~ include/linux/mfd/motorola-mdm.h:66:4: error: unknown type name 'size_t' size_t cmdlen, unsigned char *rsp, size_t rsplen) ^~~~~~ include/linux/mfd/motorola-mdm.h:66:39: error: unknown type name 'size_t' size_t cmdlen, unsigned char *rsp, size_t rsplen) ^~~~~~ include/linux/mfd/motorola-mdm.h:78:30: error: unknown type name 'size_t' const unsigned char *buf, size_t count) ^~~~~~ vim +/gsm_dlci +37 include/linux/mfd/motorola-mdm.h 35 36 struct motmdm_dlci { > 37 struct gsm_serdev_dlci gsm_dlci; > 38 struct list_head node; > 39 wait_queue_head_t read_queue; > 40 struct kfifo read_fifo; 41 int line; > 42 u16 id; 43 int (*send_command)(struct device *dev, struct motmdm_dlci *mot_dlci, 44 unsigned long timeout_ms, const unsigned char *cmd, > 45 size_t cmdlen, 46 unsigned char *rsp, size_t rsplen); 47 int (*handle_command)(struct motmdm_dlci *mot_dlci, int id, > 48 const unsigned char *buf, size_t len); 49 int (*receive_data)(struct motmdm_dlci *mot_dlci, 50 const unsigned char *buf, 51 size_t len); 52 int (*write)(struct device *dev, struct motmdm_dlci *mot_dlci, 53 int cmdid, const unsigned char *buf, size_t count); 54 int (*notify)(struct motmdm_dlci *mot_dlci, enum motmdm_state); > 55 struct list_head list; 56 void *privdata; /* Do not use, internal data */ 57 void *drvdata; /* Available for consumer drivers */ 58 }; 59 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip