Search Linux Wireless

Re: [PATCHv2 1/4] cfg80211: Add support to enable or disable btcoex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tamizh,

[auto build test WARNING on mac80211-next/master]
[also build test WARNING on next-20170224]
[cannot apply to v4.10]
[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/c_traja-qti-qualcomm-com/cfg80211-mac80211-BTCOEX-feature-support/20170225-215733
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: i386-randconfig-x003-201708 (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=i386 

All warnings (new ones prefixed by >>):

   In file included from include/trace/define_trace.h:95:0,
                    from net/wireless/trace.h:3116,
                    from net/wireless/trace.c:5:
   net/wireless/./trace.h: In function 'trace_raw_output_rdev_set_btcoex':
>> net/wireless/./trace.h:27:22: warning: too many arguments for format [-Wformat-extra-args]
    #define WIPHY_PR_FMT "%s"
                         ^
   include/trace/trace_events.h:332:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
     trace_seq_printf(s, print);     \
                         ^~~~~
   include/trace/trace_events.h:65:9: note: in expansion of macro 'PARAMS'
            PARAMS(print));         \
            ^~~~~~
>> net/wireless/./trace.h:3072:1: note: in expansion of macro 'TRACE_EVENT'
    TRACE_EVENT(rdev_set_btcoex,
    ^~~~~~~~~~~
>> net/wireless/./trace.h:3083:2: note: in expansion of macro 'TP_printk'
     TP_printk(WIPHY_PR_FMT, ", enabled=%d",
     ^~~~~~~~~
>> net/wireless/./trace.h:3083:12: note: in expansion of macro 'WIPHY_PR_FMT'
     TP_printk(WIPHY_PR_FMT, ", enabled=%d",
               ^~~~~~~~~~~~

vim +27 net/wireless/./trace.h

14e8a3c4 Beni Lev      2012-07-31  11  #include <net/cfg80211.h>
14e8a3c4 Beni Lev      2012-07-31  12  #include "core.h"
14e8a3c4 Beni Lev      2012-07-31  13  
14e8a3c4 Beni Lev      2012-07-31  14  #define MAC_ENTRY(entry_mac) __array(u8, entry_mac, ETH_ALEN)
14e8a3c4 Beni Lev      2012-07-31  15  #define MAC_ASSIGN(entry_mac, given_mac) do {			     \
14e8a3c4 Beni Lev      2012-07-31  16  	if (given_mac)						     \
14e8a3c4 Beni Lev      2012-07-31  17  		memcpy(__entry->entry_mac, given_mac, ETH_ALEN);     \
14e8a3c4 Beni Lev      2012-07-31  18  	else							     \
d2beae10 Joe Perches   2015-03-02  19  		eth_zero_addr(__entry->entry_mac);		     \
14e8a3c4 Beni Lev      2012-07-31  20  	} while (0)
14e8a3c4 Beni Lev      2012-07-31  21  #define MAC_PR_FMT "%pM"
14e8a3c4 Beni Lev      2012-07-31  22  #define MAC_PR_ARG(entry_mac) (__entry->entry_mac)
14e8a3c4 Beni Lev      2012-07-31  23  
ec816087 Johannes Berg 2012-11-16  24  #define MAXNAME		32
ec816087 Johannes Berg 2012-11-16  25  #define WIPHY_ENTRY	__array(char, wiphy_name, 32)
ec816087 Johannes Berg 2012-11-16  26  #define WIPHY_ASSIGN	strlcpy(__entry->wiphy_name, wiphy_name(wiphy), MAXNAME)
ec816087 Johannes Berg 2012-11-16 @27  #define WIPHY_PR_FMT	"%s"
ec816087 Johannes Berg 2012-11-16  28  #define WIPHY_PR_ARG	__entry->wiphy_name
14e8a3c4 Beni Lev      2012-07-31  29  
14e8a3c4 Beni Lev      2012-07-31  30  #define WDEV_ENTRY	__field(u32, id)
ce1eadda Johannes Berg 2013-03-19  31  #define WDEV_ASSIGN	(__entry->id) = (!IS_ERR_OR_NULL(wdev)	\
ce1eadda Johannes Berg 2013-03-19  32  					 ? wdev->identifier : 0)
ec816087 Johannes Berg 2012-11-16  33  #define WDEV_PR_FMT	"wdev(%u)"
14e8a3c4 Beni Lev      2012-07-31  34  #define WDEV_PR_ARG	(__entry->id)
14e8a3c4 Beni Lev      2012-07-31  35  

:::::: The code at line 27 was first introduced by commit
:::::: ec816087e8978b74c1bd5fae0e335dd97d964e9f cfg80211: fix some tracing output issues

:::::: TO: Johannes Berg <johannes.berg@xxxxxxxxx>
:::::: CC: Johannes Berg <johannes.berg@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux