oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [hare-nvme:tls.v12 18/19] drivers/nvme/target/tcp.c:1850:1: warning: unused label 'out_destroy_sq'
@ 2023-08-12  9:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-12  9:33 UTC (permalink / raw)
  To: Hannes Reinecke; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/hare/nvme.git tls.v12
head:   c623bc8e57d23dde503188eacbf2d11e7dfe0564
commit: 2a255c0e370975ef7a7b22e4fce2d77080280761 [18/19] nvmet-tcp: enable TLS handshake upcall
config: i386-randconfig-i015-20230812 (https://download.01.org/0day-ci/archive/20230812/202308121722.UTm9wQud-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230812/202308121722.UTm9wQud-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308121722.UTm9wQud-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/nvme/target/tcp.c:1850:1: warning: unused label 'out_destroy_sq' [-Wunused-label]
   out_destroy_sq:
   ^~~~~~~~~~~~~~~
   1 warning generated.


vim +/out_destroy_sq +1850 drivers/nvme/target/tcp.c

  1845	
  1846		ret = nvmet_tcp_set_queue_sock(queue);
  1847		if (!ret)
  1848			return;
  1849	
> 1850	out_destroy_sq:
  1851		queue->state = NVMET_TCP_Q_DISCONNECTING;
  1852		mutex_lock(&nvmet_tcp_queue_mutex);
  1853		list_del_init(&queue->queue_list);
  1854		mutex_unlock(&nvmet_tcp_queue_mutex);
  1855		nvmet_tcp_put_queue(queue);
  1856		return;
  1857	out_free_connect:
  1858		nvmet_tcp_free_cmd(&queue->connect);
  1859	out_ida_remove:
  1860		ida_free(&nvmet_tcp_queue_ida, queue->idx);
  1861	out_sock:
  1862		fput(queue->sock->file);
  1863	out_free_queue:
  1864		kfree(queue);
  1865	out_release:
  1866		pr_err("failed to allocate queue, error %d\n", ret);
  1867		if (!sock_file)
  1868			sock_release(newsock);
  1869	}
  1870	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-12  9:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12  9:33 [hare-nvme:tls.v12 18/19] drivers/nvme/target/tcp.c:1850:1: warning: unused label 'out_destroy_sq' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).