Re: [PATCH] Maxim/driver: Add driver for maxim ds26522

From: kbuild test robot
Date: Wed Jun 22 2016 - 23:30:08 EST


Hi,

[auto build test ERROR on net-next/master]
[also build test ERROR on next-20160622]
[cannot apply to v4.7-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Zhao-Qiang/Maxim-driver-Add-driver-for-maxim-ds26522/20160623-095007
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All error/warnings (new ones prefixed by >>):

In file included from include/linux/module.h:18:0,
from drivers/net/wan/slic_ds26522.c:15:
>> drivers/net/wan/slic_ds26522.c:39:20: error: expected ',' or ';' before 'DRV_DESC'
MODULE_DESCRIPTION(DRV_DESC);
^
include/linux/moduleparam.h:23:26: note: in definition of macro '__MODULE_INFO'
= __stringify(tag) "=" info
^~~~
>> include/linux/module.h:218:42: note: in expansion of macro 'MODULE_INFO'
#define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description)
^~~~~~~~~~~
>> drivers/net/wan/slic_ds26522.c:39:1: note: in expansion of macro 'MODULE_DESCRIPTION'
MODULE_DESCRIPTION(DRV_DESC);
^~~~~~~~~~~~~~~~~~

vim +39 drivers/net/wan/slic_ds26522.c

9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
12 */
13
14 #include <linux/bitrev.h>
> 15 #include <linux/module.h>
16 #include <linux/device.h>
17 #include <linux/kernel.h>
18 #include <linux/sched.h>
19 #include <linux/kthread.h>
20 #include <linux/spi/spi.h>
21 #include <linux/wait.h>
22 #include <linux/param.h>
23 #include <linux/delay.h>
24 #include <linux/of.h>
25 #include <linux/of_address.h>
26 #include <linux/io.h>
27 #include "slic_ds26522.h"
28
29 #define DRV_NAME "ds26522"
30
31 #define SLIC_TRANS_LEN 1
32 #define SLIC_TWO_LEN 2
33 #define SLIC_THREE_LEN 3
34
35 static struct spi_device *g_spi;
36
37 MODULE_LICENSE("GPL");
38 MODULE_AUTHOR("Zhao Qiang<B45475@xxxxxxxxxxxxx>");
> 39 MODULE_DESCRIPTION(DRV_DESC);
40
41 /* the read/write format of address is
42 * w/r|A13|A12|A11|A10|A9|A8|A7|A6|A5|A4|A3|A2|A1|A0|x

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data