Search Linux Wireless

Re: [PATCH v2 07/12] rtlwifi: btcoex: 23b 2ant: adjust wifi duration for bt a2dp

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

 



Hi Yan-Hsuan,

[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.11-rc5 next-20170403]
[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/Larry-Finger/rtlwifi-btcoex-remove-unused-functions/20170403-201454
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git master
config: i386-randconfig-x008-201714 (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 >>):

   drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c: In function 'ex_btc8723b2ant_scan_notify':
>> drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c:2683:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     else if (BTC_SCAN_FINISH == type)
          ^~
   drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c:2686:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
      btcoexist->btc_get(btcoexist, BTC_GET_U1_AP_NUM,
      ^~~~~~~~~

vim +/if +2683 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c

aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2667  			 "[BTCoex], LPS ENABLE notify\n");
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2668  		coex_sta->under_lps = true;
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2669  	} else if (BTC_LPS_DISABLE == type) {
2277f5f11 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c Larry Finger     2017-02-03  2670  		RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2671  			 "[BTCoex], LPS DISABLE notify\n");
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2672  		coex_sta->under_lps = false;
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2673  	}
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2674  }
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2675  
e79fff285 drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-09-04  2676  void ex_btc8723b2ant_scan_notify(struct btc_coexist *btcoexist, u8 type)
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2677  {
2277f5f11 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c Larry Finger     2017-02-03  2678  	struct rtl_priv *rtlpriv = btcoexist->adapter;
2277f5f11 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c Larry Finger     2017-02-03  2679  
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2680  	if (BTC_SCAN_START == type)
2277f5f11 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c Larry Finger     2017-02-03  2681  		RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2682  			 "[BTCoex], SCAN START notify\n");
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28 @2683  	else if (BTC_SCAN_FINISH == type)
2277f5f11 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c Larry Finger     2017-02-03  2684  		RT_TRACE(rtlpriv, COMP_BT_COEXIST, DBG_LOUD,
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2685  			 "[BTCoex], SCAN FINISH notify\n");
0c464652f drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c Yan-Hsuan Chuang 2017-04-02  2686  		btcoexist->btc_get(btcoexist, BTC_GET_U1_AP_NUM,
0c464652f drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c Yan-Hsuan Chuang 2017-04-02  2687  				   &coex_sta->scan_ap_num);
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2688  }
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2689  
e79fff285 drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-09-04  2690  void ex_btc8723b2ant_connect_notify(struct btc_coexist *btcoexist, u8 type)
aa45a673b drivers/net/wireless/rtlwifi/btcoexist/halbtc8723b2ant.c         Larry Finger     2014-02-28  2691  {

:::::: The code at line 2683 was first introduced by commit
:::::: aa45a673b291fd761275493bc15316d79555ed55 rtlwifi: btcoexist: Add new mini driver

:::::: TO: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
:::::: CC: John W. Linville <linville@xxxxxxxxxxxxx>

---
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