Search Linux Wireless

[mac80211-next:master 12/14] drivers/net//wireless/ath/wil6210/debugfs.c:1245:1: warning: the frame size of 1600 bytes is larger than 1024 bytes

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git master
head:   57c6cb81717f957fb741f2e4c79bd0e2f4f55910
commit: 52539ca89f365d3db530535fbffa88a3cca4d2ec [12/14] cfg80211: Expose TXQ stats and parameters to userspace
config: i386-randconfig-i1-201818 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 52539ca89f365d3db530535fbffa88a3cca4d2ec
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/net//wireless/ath/wil6210/debugfs.c: In function 'wil_link_debugfs_show':
>> drivers/net//wireless/ath/wil6210/debugfs.c:1245:1: warning: the frame size of 1600 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^
--
   drivers/net//wireless/ath/wil6210/wmi.c: In function 'wmi_evt_connect':
>> drivers/net//wireless/ath/wil6210/wmi.c:979:1: warning: the frame size of 1684 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^
--
   drivers/net//wireless/quantenna/qtnfmac/event.c: In function 'qtnf_event_handle_sta_assoc':
>> drivers/net//wireless/quantenna/qtnfmac/event.c:107:1: warning: the frame size of 1616 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^

vim +1245 drivers/net//wireless/ath/wil6210/debugfs.c

9eb82d43 Vladimir Kondratiev 2014-06-16  1198  
9eb82d43 Vladimir Kondratiev 2014-06-16  1199  /*---------link------------*/
9eb82d43 Vladimir Kondratiev 2014-06-16  1200  static int wil_link_debugfs_show(struct seq_file *s, void *data)
9eb82d43 Vladimir Kondratiev 2014-06-16  1201  {
9eb82d43 Vladimir Kondratiev 2014-06-16  1202  	struct wil6210_priv *wil = s->private;
9eb82d43 Vladimir Kondratiev 2014-06-16  1203  	struct station_info sinfo;
9eb82d43 Vladimir Kondratiev 2014-06-16  1204  	int i, rc;
9eb82d43 Vladimir Kondratiev 2014-06-16  1205  
9eb82d43 Vladimir Kondratiev 2014-06-16  1206  	for (i = 0; i < ARRAY_SIZE(wil->sta); i++) {
9eb82d43 Vladimir Kondratiev 2014-06-16  1207  		struct wil_sta_info *p = &wil->sta[i];
9eb82d43 Vladimir Kondratiev 2014-06-16  1208  		char *status = "unknown";
5bd60982 Lior David          2018-02-26  1209  		struct wil6210_vif *vif;
5bd60982 Lior David          2018-02-26  1210  		u8 mid;
8fe59627 Vladimir Kondratiev 2014-09-10  1211  
9eb82d43 Vladimir Kondratiev 2014-06-16  1212  		switch (p->status) {
9eb82d43 Vladimir Kondratiev 2014-06-16  1213  		case wil_sta_unused:
9eb82d43 Vladimir Kondratiev 2014-06-16  1214  			status = "unused   ";
9eb82d43 Vladimir Kondratiev 2014-06-16  1215  			break;
9eb82d43 Vladimir Kondratiev 2014-06-16  1216  		case wil_sta_conn_pending:
9eb82d43 Vladimir Kondratiev 2014-06-16  1217  			status = "pending  ";
9eb82d43 Vladimir Kondratiev 2014-06-16  1218  			break;
9eb82d43 Vladimir Kondratiev 2014-06-16  1219  		case wil_sta_connected:
9eb82d43 Vladimir Kondratiev 2014-06-16  1220  			status = "connected";
9eb82d43 Vladimir Kondratiev 2014-06-16  1221  			break;
9eb82d43 Vladimir Kondratiev 2014-06-16  1222  		}
5bd60982 Lior David          2018-02-26  1223  		mid = (p->status != wil_sta_unused) ? p->mid : U8_MAX;
5bd60982 Lior David          2018-02-26  1224  		seq_printf(s, "[%d][MID %d] %pM %s\n",
5bd60982 Lior David          2018-02-26  1225  			   i, mid, p->addr, status);
9eb82d43 Vladimir Kondratiev 2014-06-16  1226  
5bd60982 Lior David          2018-02-26  1227  		if (p->status != wil_sta_connected)
5bd60982 Lior David          2018-02-26  1228  			continue;
5bd60982 Lior David          2018-02-26  1229  
5bd60982 Lior David          2018-02-26  1230  		vif = (mid < wil->max_vifs) ? wil->vifs[mid] : NULL;
5bd60982 Lior David          2018-02-26  1231  		if (vif) {
e00243fa Lior David          2018-02-26  1232  			rc = wil_cid_fill_sinfo(vif, i, &sinfo);
9eb82d43 Vladimir Kondratiev 2014-06-16  1233  			if (rc)
9eb82d43 Vladimir Kondratiev 2014-06-16  1234  				return rc;
9eb82d43 Vladimir Kondratiev 2014-06-16  1235  
9eb82d43 Vladimir Kondratiev 2014-06-16  1236  			seq_printf(s, "  Tx_mcs = %d\n", sinfo.txrate.mcs);
9eb82d43 Vladimir Kondratiev 2014-06-16  1237  			seq_printf(s, "  Rx_mcs = %d\n", sinfo.rxrate.mcs);
9eb82d43 Vladimir Kondratiev 2014-06-16  1238  			seq_printf(s, "  SQ     = %d\n", sinfo.signal);
5bd60982 Lior David          2018-02-26  1239  		} else {
5bd60982 Lior David          2018-02-26  1240  			seq_puts(s, "  INVALID MID\n");
9eb82d43 Vladimir Kondratiev 2014-06-16  1241  		}
9eb82d43 Vladimir Kondratiev 2014-06-16  1242  	}
9eb82d43 Vladimir Kondratiev 2014-06-16  1243  
9eb82d43 Vladimir Kondratiev 2014-06-16  1244  	return 0;
9eb82d43 Vladimir Kondratiev 2014-06-16 @1245  }
9eb82d43 Vladimir Kondratiev 2014-06-16  1246  

:::::: The code at line 1245 was first introduced by commit
:::::: 9eb82d43da0618f6bab78de0f18e7405085dd955 wil6210: add 'freq' and 'link' debugfs entries

:::::: TO: Vladimir Kondratiev <qca_vkondrat@xxxxxxxxxxxxxxxx>
:::::: 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]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux