Search Linux Wireless

Re: [PATCH v2] mac80211: do not actively scan DFS channels

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

 



Hi Antonio,

[auto build test ERROR on: mac80211-next/master]
[also build test ERROR on: v4.4-rc1 next-20151120]

url:    https://github.com/0day-ci/linux/commits/Antonio-Quartulli/mac80211-do-not-actively-scan-DFS-channels/20151121-181426
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
config: xtensa-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=xtensa 

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

   In file included from include/linux/irqflags.h:14:0,
                    from include/asm-generic/bitops/atomic.h:5,
                    from arch/xtensa/include/asm/bitops.h:222,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/skbuff.h:17,
                    from include/linux/if_arp.h:26,
                    from net/mac80211/scan.c:16:
   net/mac80211/scan.c: In function 'ieee80211_scan_state_decision':
>> net/mac80211/scan.c:703:6: error: too many arguments to function 'ieee80211_scan_get_channel_time'
         ieee80211_scan_get_channel_time(next_chan,
         ^
   include/linux/typecheck.h:10:9: note: in definition of macro 'typecheck'
     typeof(x) __dummy2; \
            ^
>> net/mac80211/scan.c:702:16: note: in expansion of macro 'time_after'
     bad_latency = time_after(jiffies +
                   ^
   net/mac80211/scan.c:643:1: note: declared here
    ieee80211_scan_get_channel_time(struct ieee80211_channel *chan)
    ^
   In file included from include/linux/ktime.h:25:0,
                    from include/linux/rcupdate.h:47,
                    from include/linux/rbtree.h:34,
                    from include/linux/mm_types.h:9,
                    from include/linux/kmemcheck.h:4,
                    from include/linux/skbuff.h:18,
                    from include/linux/if_arp.h:26,
                    from net/mac80211/scan.c:16:
>> net/mac80211/scan.c:703:6: error: too many arguments to function 'ieee80211_scan_get_channel_time'
         ieee80211_scan_get_channel_time(next_chan,
         ^
   include/linux/jiffies.h:105:18: note: in definition of macro 'time_after'
      ((long)((b) - (a)) < 0))
                     ^
   net/mac80211/scan.c:643:1: note: declared here
    ieee80211_scan_get_channel_time(struct ieee80211_channel *chan)
    ^

vim +/ieee80211_scan_get_channel_time +703 net/mac80211/scan.c

   696		 * see if we can scan another channel without interfering
   697		 * with the current traffic situation.
   698		 *
   699		 * Keep good latency, do not stay off-channel more than 125 ms.
   700		 */
   701	
 > 702		bad_latency = time_after(jiffies +
 > 703					 ieee80211_scan_get_channel_time(next_chan,
   704									 scan_req),
   705					 local->leave_oper_channel_time + HZ / 8);
   706	

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

Attachment: .config.gz
Description: Binary data


[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