Hi, [auto build test ERROR on wireless-drivers-next/master] [also build test ERROR on v4.7-rc5 next-20160630] [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/Amitkumar-Karwar/mwifiex-add-hostcmd-wext-ioctl-support/20160630-231444 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master config: arm-exynos_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 5.3.1-8) 5.3.1 20160205 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=arm All errors (new ones prefixed by >>): drivers/net/wireless/marvell/mwifiex/main.c: In function 'mwifiex_do_ioctl': drivers/net/wireless/marvell/mwifiex/main.c:1220:20: error: 'struct mwifiex_adapter' has no member named 'mfg_mode' if (!priv->adapter->mfg_mode) ^ drivers/net/wireless/marvell/mwifiex/main.c: At top level: drivers/net/wireless/marvell/mwifiex/main.c:1260:2: error: unknown field 'num_private_args' specified in initializer .num_private_args = ARRAY_SIZE(mwifiex_iwpriv_args), ^ In file included from drivers/net/wireless/marvell/mwifiex/main.h:23:0, from drivers/net/wireless/marvell/mwifiex/main.c:20: include/linux/kernel.h:54:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion] #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ drivers/net/wireless/marvell/mwifiex/main.c:1260:22: note: in expansion of macro 'ARRAY_SIZE' .num_private_args = ARRAY_SIZE(mwifiex_iwpriv_args), ^ include/linux/kernel.h:54:25: note: (near initialization for 'mwifiex_iwpriv_handler_def.standard') #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr)) ^ drivers/net/wireless/marvell/mwifiex/main.c:1260:22: note: in expansion of macro 'ARRAY_SIZE' .num_private_args = ARRAY_SIZE(mwifiex_iwpriv_args), ^ drivers/net/wireless/marvell/mwifiex/main.c:1261:2: error: unknown field 'private_args' specified in initializer .private_args = (struct iw_priv_args *)mwifiex_iwpriv_args, ^ drivers/net/wireless/marvell/mwifiex/main.c:1261:18: warning: initialization makes integer from pointer without a cast [-Wint-conversion] .private_args = (struct iw_priv_args *)mwifiex_iwpriv_args, ^ drivers/net/wireless/marvell/mwifiex/main.c:1261:18: note: (near initialization for 'mwifiex_iwpriv_handler_def.num_standard') drivers/net/wireless/marvell/mwifiex/main.c:1261:18: error: initializer element is not computable at load time drivers/net/wireless/marvell/mwifiex/main.c:1261:18: note: (near initialization for 'mwifiex_iwpriv_handler_def.num_standard') drivers/net/wireless/marvell/mwifiex/main.c: In function 'mwifiex_init_priv_params': >> drivers/net/wireless/marvell/mwifiex/main.c:1289:5: error: 'struct net_device' has no member named 'wireless_handlers' dev->wireless_handlers = &mwifiex_iwpriv_handler_def; ^ vim +1289 drivers/net/wireless/marvell/mwifiex/main.c 1255 "hostcmd" 1256 }, 1257 }; 1258 1259 static struct iw_handler_def mwifiex_iwpriv_handler_def = { 1260 .num_private_args = ARRAY_SIZE(mwifiex_iwpriv_args), > 1261 .private_args = (struct iw_priv_args *)mwifiex_iwpriv_args, 1262 }; 1263 1264 /* 1265 * This function initializes the private structure parameters. 1266 * 1267 * The following wait queues are initialized - 1268 * - IOCTL wait queue 1269 * - Command wait queue 1270 * - Statistics wait queue 1271 * 1272 * ...and the following default parameters are set - 1273 * - Current key index : Set to 0 1274 * - Rate index : Set to auto 1275 * - Media connected : Set to disconnected 1276 * - Adhoc link sensed : Set to false 1277 * - Nick name : Set to null 1278 * - Number of Tx timeout : Set to 0 1279 * - Device address : Set to current address 1280 * - Rx histogram statistc : Set to 0 1281 * 1282 * In addition, the CFG80211 work queue is also created. 1283 */ 1284 void mwifiex_init_priv_params(struct mwifiex_private *priv, 1285 struct net_device *dev) 1286 { 1287 dev->netdev_ops = &mwifiex_netdev_ops; 1288 dev->destructor = free_netdev; > 1289 dev->wireless_handlers = &mwifiex_iwpriv_handler_def; 1290 /* Initialize private structure */ 1291 priv->current_key_index = 0; 1292 priv->media_connected = false; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data