[next:master 5942/5973] drivers/net/wireless/hostap/hostap_proc.c:171:6: warning: unused variable 'i'

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

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   cac2183332bf304f5abf54e5dc715a4b5c18da06
commit: 8410495acbb7a56d7060adeb5af1a1e616ecb916 [5942/5973] wireless: hostap: proc: print properly escaped SSID
config: i386-allyesconfig
reproduce:
  git checkout 8410495acbb7a56d7060adeb5af1a1e616ecb916
  make ARCH=i386  allyesconfig
  make ARCH=i386 

All warnings:

   drivers/net/wireless/hostap/hostap_proc.c: In function 'prism2_bss_list_proc_show':
>> drivers/net/wireless/hostap/hostap_proc.c:171:6: warning: unused variable 'i' [-Wunused-variable]
     int i;
         ^

vim +/i +171 drivers/net/wireless/hostap/hostap_proc.c

6bbefe86 David Howells 2013-04-10  155  	return ret;
ff1d2767 Jouni Malinen 2005-05-12  156  }
ff1d2767 Jouni Malinen 2005-05-12  157  
6bbefe86 David Howells 2013-04-10  158  static const struct file_operations prism2_wds_proc_fops = {
6bbefe86 David Howells 2013-04-10  159  	.open		= prism2_wds_proc_open,
6bbefe86 David Howells 2013-04-10  160  	.read		= seq_read,
6bbefe86 David Howells 2013-04-10  161  	.llseek		= seq_lseek,
6bbefe86 David Howells 2013-04-10  162  	.release	= seq_release,
6bbefe86 David Howells 2013-04-10  163  };
ff1d2767 Jouni Malinen 2005-05-12  164  
6bbefe86 David Howells 2013-04-10  165  
6bbefe86 David Howells 2013-04-10  166  static int prism2_bss_list_proc_show(struct seq_file *m, void *v)
ff1d2767 Jouni Malinen 2005-05-12  167  {
6bbefe86 David Howells 2013-04-10  168  	local_info_t *local = m->private;
6bbefe86 David Howells 2013-04-10  169  	struct list_head *ptr = v;
ff1d2767 Jouni Malinen 2005-05-12  170  	struct hostap_bss_info *bss;
ff1d2767 Jouni Malinen 2005-05-12 @171  	int i;
ff1d2767 Jouni Malinen 2005-05-12  172  
6bbefe86 David Howells 2013-04-10  173  	if (ptr == &local->bss_list) {
6bbefe86 David Howells 2013-04-10  174  		seq_printf(m, "#BSSID\tlast_update\tcount\tcapab_info\tSSID(txt)\t"
6bbefe86 David Howells 2013-04-10  175  			   "SSID(hex)\tWPA IE\n");
ff1d2767 Jouni Malinen 2005-05-12  176  		return 0;
ff1d2767 Jouni Malinen 2005-05-12  177  	}
ff1d2767 Jouni Malinen 2005-05-12  178  
ff1d2767 Jouni Malinen 2005-05-12  179  	bss = list_entry(ptr, struct hostap_bss_info, list);

:::::: The code at line 171 was first introduced by commit
:::::: ff1d2767d5a43c85f944e86a45284b721f66196c Add HostAP wireless driver.

:::::: TO: Jouni Malinen <jkmaline@xxxxxxxxx>
:::::: CC: Jeff Garzik <jgarzik@xxxxxxxxx>

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]