[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201603040334.midBqFGf%fengguang.wu@intel.com>
Date: Fri, 4 Mar 2016 03:57:58 +0800
From: kbuild test robot <lkp@...el.com>
To: Lu Baolu <baolu.lu@...ux.intel.com>
Cc: kbuild-all@...org, Felipe Balbi <balbi@...nel.org>,
Mathias Nyman <mathias.nyman@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Lee Jones <lee.jones@...aro.org>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
MyungJoo Ham <myungjoo.ham@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Lu Baolu <baolu.lu@...ux.intel.com>
Subject: Re: [PATCH 7/7] mfd: intel_vuport: Add Intel virtual USB port MFD
Driver
Hi Lu,
[auto build test WARNING on usb/usb-testing]
[also build test WARNING on v4.5-rc6 next-20160303]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Lu-Baolu/usb-add-support-for-Intel-dual-role-port-mux/20160303-144241
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: parisc-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=parisc
All warnings (new ones prefixed by >>):
drivers/mfd/intel-vuport.c: In function 'vuport_probe':
drivers/mfd/intel-vuport.c:39:17: warning: unused variable 'dev' [-Wunused-variable]
struct device *dev = &pdev->dev;
^
drivers/mfd/intel-vuport.c: At top level:
drivers/mfd/intel-vuport.c:63:1: warning: data definition has no type or storage class
MODULE_DEVICE_TABLE(acpi, vuport_acpi_match);
^
drivers/mfd/intel-vuport.c:63:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
drivers/mfd/intel-vuport.c:63:1: warning: parameter names (without types) in function declaration
In file included from include/linux/acpi.h:27:0,
from drivers/mfd/intel-vuport.c:12:
include/linux/device.h:1337:1: warning: data definition has no type or storage class
module_init(__driver##_init); \
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
>> drivers/mfd/intel-vuport.c:75:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(vuport_driver);
^
include/linux/device.h:1337:1: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
module_init(__driver##_init); \
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
>> drivers/mfd/intel-vuport.c:75:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(vuport_driver);
^
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from include/linux/list.h:8,
from include/linux/resource_ext.h:17,
from include/linux/acpi.h:26,
from drivers/mfd/intel-vuport.c:12:
include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
#define THIS_MODULE ((struct module *)0)
^
include/linux/platform_device.h:198:34: note: in expansion of macro 'THIS_MODULE'
__platform_driver_register(drv, THIS_MODULE)
^
include/linux/device.h:1335:9: note: in expansion of macro 'platform_driver_register'
return __register(&(__driver) , ##__VA_ARGS__); \
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
>> drivers/mfd/intel-vuport.c:75:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(vuport_driver);
^
In file included from include/linux/acpi.h:27:0,
from drivers/mfd/intel-vuport.c:12:
include/linux/device.h:1342:1: warning: data definition has no type or storage class
module_exit(__driver##_exit);
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
>> drivers/mfd/intel-vuport.c:75:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(vuport_driver);
^
include/linux/device.h:1342:1: error: type defaults to 'int' in declaration of 'module_exit' [-Werror=implicit-int]
module_exit(__driver##_exit);
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
>> drivers/mfd/intel-vuport.c:75:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(vuport_driver);
^
In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from include/linux/list.h:8,
from include/linux/resource_ext.h:17,
from include/linux/acpi.h:26,
from drivers/mfd/intel-vuport.c:12:
include/linux/export.h:36:30: warning: parameter names (without types) in function declaration
#define THIS_MODULE ((struct module *)0)
^
include/linux/platform_device.h:198:34: note: in expansion of macro 'THIS_MODULE'
__platform_driver_register(drv, THIS_MODULE)
^
include/linux/device.h:1335:9: note: in expansion of macro 'platform_driver_register'
return __register(&(__driver) , ##__VA_ARGS__); \
^
include/linux/platform_device.h:228:2: note: in expansion of macro 'module_driver'
module_driver(__platform_driver, platform_driver_register, \
^
>> drivers/mfd/intel-vuport.c:75:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(vuport_driver);
^
drivers/mfd/intel-vuport.c:77:15: error: expected declaration specifiers or '...' before string constant
MODULE_AUTHOR("Lu Baolu <baolu.lu@...ux.intel.com>");
^
drivers/mfd/intel-vuport.c:78:20: error: expected declaration specifiers or '...' before string constant
MODULE_DESCRIPTION("Intel virtual USB port");
^
drivers/mfd/intel-vuport.c:79:16: error: expected declaration specifiers or '...' before string constant
MODULE_LICENSE("GPL v2");
^
drivers/mfd/intel-vuport.c:59:30: warning: 'vuport_acpi_match' defined but not used [-Wunused-variable]
static struct acpi_device_id vuport_acpi_match[] = {
^
In file included from include/linux/acpi.h:27:0,
from drivers/mfd/intel-vuport.c:12:
drivers/mfd/intel-vuport.c:75:24: warning: 'vuport_driver_init' defined but not used [-Wunused-function]
module_platform_driver(vuport_driver);
^
include/linux/device.h:1333:19: note: in definition of macro 'module_driver'
static int __init __driver##_init(void) \
^
>> drivers/mfd/intel-vuport.c:75:1: note: in expansion of macro 'module_platform_driver'
module_platform_driver(vuport_driver);
^
cc1: some warnings being treated as errors
vim +/module_platform_driver +75 drivers/mfd/intel-vuport.c
57 }
58
59 static struct acpi_device_id vuport_acpi_match[] = {
60 { "INT3496" },
61 { }
62 };
> 63 MODULE_DEVICE_TABLE(acpi, vuport_acpi_match);
64
65 static struct platform_driver vuport_driver = {
66 .driver = {
67 .name = "intel-vuport",
68 .owner = THIS_MODULE,
69 .acpi_match_table = ACPI_PTR(vuport_acpi_match),
70 },
71 .probe = vuport_probe,
72 .remove = vuport_remove,
73 };
74
> 75 module_platform_driver(vuport_driver);
76
77 MODULE_AUTHOR("Lu Baolu <baolu.lu@...ux.intel.com>");
78 MODULE_DESCRIPTION("Intel virtual USB port");
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (43738 bytes)
Powered by blists - more mailing lists