Hi Xinming, [auto build test ERROR on wireless-drivers-next/master] [also build test ERROR on v4.14-rc1 next-20170922] [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/Xinming-Hu/mwifiex-add-device-specific-ioctl-handler/20170923-094243 base: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master config: x86_64-randconfig-x000-201738 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): In file included from drivers/net/wireless/marvell/mwifiex/main.c:22:0: drivers/net/wireless/marvell/mwifiex/main.c: In function 'mwifiex_do_ioctl': drivers/net/wireless/marvell/mwifiex/main.h:209:24: error: pasting "MWIFIEX_DBG_" and ""ioctl cmd = 0x%x\n"" does not give a valid preprocessing token _mwifiex_dbg(adapter, MWIFIEX_DBG_##mask, fmt, ##__VA_ARGS__) ^ >> drivers/net/wireless/marvell/mwifiex/main.c:1276:2: note: in expansion of macro 'mwifiex_dbg' mwifiex_dbg(priv->adapter, "ioctl cmd = 0x%x\n", cmd); ^~~~~~~~~~~ >> drivers/net/wireless/marvell/mwifiex/main.h:209:24: error: 'MWIFIEX_DBG_' undeclared (first use in this function) _mwifiex_dbg(adapter, MWIFIEX_DBG_##mask, fmt, ##__VA_ARGS__) ^ >> drivers/net/wireless/marvell/mwifiex/main.c:1276:2: note: in expansion of macro 'mwifiex_dbg' mwifiex_dbg(priv->adapter, "ioctl cmd = 0x%x\n", cmd); ^~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/main.h:209:24: note: each undeclared identifier is reported only once for each function it appears in _mwifiex_dbg(adapter, MWIFIEX_DBG_##mask, fmt, ##__VA_ARGS__) ^ >> drivers/net/wireless/marvell/mwifiex/main.c:1276:2: note: in expansion of macro 'mwifiex_dbg' mwifiex_dbg(priv->adapter, "ioctl cmd = 0x%x\n", cmd); ^~~~~~~~~~~ >> drivers/net/wireless/marvell/mwifiex/main.c:1276:29: error: expected ')' before string constant mwifiex_dbg(priv->adapter, "ioctl cmd = 0x%x\n", cmd); ^ drivers/net/wireless/marvell/mwifiex/main.h:209:38: note: in definition of macro 'mwifiex_dbg' _mwifiex_dbg(adapter, MWIFIEX_DBG_##mask, fmt, ##__VA_ARGS__) ^~~~ >> drivers/net/wireless/marvell/mwifiex/main.h:209:2: error: too few arguments to function '_mwifiex_dbg' _mwifiex_dbg(adapter, MWIFIEX_DBG_##mask, fmt, ##__VA_ARGS__) ^ >> drivers/net/wireless/marvell/mwifiex/main.c:1276:2: note: in expansion of macro 'mwifiex_dbg' mwifiex_dbg(priv->adapter, "ioctl cmd = 0x%x\n", cmd); ^~~~~~~~~~~ drivers/net/wireless/marvell/mwifiex/main.h:206:6: note: declared here void _mwifiex_dbg(const struct mwifiex_adapter *adapter, int mask, ^~~~~~~~~~~~ vim +209 drivers/net/wireless/marvell/mwifiex/main.h c687a0077 drivers/net/wireless/mwifiex/main.h Zhaoyang Liu 2015-05-12 200 c687a0077 drivers/net/wireless/mwifiex/main.h Zhaoyang Liu 2015-05-12 201 #define MWIFIEX_DEFAULT_DEBUG_MASK (MWIFIEX_DBG_MSG | \ c687a0077 drivers/net/wireless/mwifiex/main.h Zhaoyang Liu 2015-05-12 202 MWIFIEX_DBG_FATAL | \ c687a0077 drivers/net/wireless/mwifiex/main.h Zhaoyang Liu 2015-05-12 203 MWIFIEX_DBG_ERROR) c687a0077 drivers/net/wireless/mwifiex/main.h Zhaoyang Liu 2015-05-12 204 36925e52c drivers/net/wireless/mwifiex/main.h Joe Perches 2015-08-31 205 __printf(3, 4) 36925e52c drivers/net/wireless/mwifiex/main.h Joe Perches 2015-08-31 206 void _mwifiex_dbg(const struct mwifiex_adapter *adapter, int mask, 36925e52c drivers/net/wireless/mwifiex/main.h Joe Perches 2015-08-31 207 const char *fmt, ...); 36925e52c drivers/net/wireless/mwifiex/main.h Joe Perches 2015-08-31 208 #define mwifiex_dbg(adapter, mask, fmt, ...) \ 36925e52c drivers/net/wireless/mwifiex/main.h Joe Perches 2015-08-31 @209 _mwifiex_dbg(adapter, MWIFIEX_DBG_##mask, fmt, ##__VA_ARGS__) c687a0077 drivers/net/wireless/mwifiex/main.h Zhaoyang Liu 2015-05-12 210 :::::: The code at line 209 was first introduced by commit :::::: 36925e52c5ac9d10a553d1339e13a61bfbdd4ba4 mwifiex: Make mwifiex_dbg a function, reduce object size :::::: TO: Joe Perches <joe@xxxxxxxxxxx> :::::: CC: Kalle Valo <kvalo@xxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip