Hi Peng,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on mac80211-next/master]
[also build test ERROR on v4.20-rc7 next-20181220]
[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/Jouni-Malinen/cfg80211-Parsing-of-Multiple-BSSID-information-in-scanning/20181221-123747
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git 
master
config: i386-randconfig-x0-12211724 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   net/wireless/scan.o: In function `cfg80211_gen_new_bssid':
>> net/wireless/scan.c:174: undefined reference to `__umoddi3'

vim +174 net/wireless/scan.c

   162  
   163  static void cfg80211_gen_new_bssid(const u8 *bssid, u8 max_bssid,
   164                                     u8 mbssid_index, u8 *new_bssid_addr)
   165  {
   166          u64 bssid_tmp, new_bssid = 0;
   167          u64 lsb_n;
   168  
   169          bssid_tmp = ether_addr_to_u64(bssid);
   170  
   171          lsb_n = bssid_tmp & ((1 << max_bssid) - 1);
   172          new_bssid = bssid_tmp;
   173          new_bssid &= ~((1 << max_bssid) - 1);
 > 174          new_bssid |= (lsb_n + mbssid_index) % (1 << max_bssid);
   175  
   176          u64_to_ether_addr(new_bssid, new_bssid_addr);
   177  }
   178  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to