Received: from out-201.mta0.migadu.com (out-201.mta0.migadu.com [91.218.175.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4BF418E05 for ; Mon, 9 Oct 2023 13:30:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="vPHpxv+8" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1696858246; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=16/uUAhGpahyzbx7+ZzmRX3dC81/2ojrWsHiDspyJtU=; b=vPHpxv+8/2vQYM1X8YVDyMqrcU7xhZ+oFy3ejUuV2xGVN4p5NEPwb9XKuk4WBUyc83TmNP cgfixIJgsbPOaUx8OcXu8im+HBoGTMincou7Moz9fddyiLadcgTF+Q32pWAd/TDhlhYsIc hCPiX35eJnBgCFkPC4cIEgFe8l96fz4= Date: Mon, 9 Oct 2023 21:30:36 +0800 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 19/19] RDMA/siw: Introduce siw_destroy_cep_sock Content-Language: en-US To: kernel test robot , bmt@zurich.ibm.com, jgg@ziepe.ca, leon@kernel.org Cc: oe-kbuild-all@lists.linux.dev, linux-rdma@vger.kernel.org References: <20231009071801.10210-20-guoqing.jiang@linux.dev> <202310091735.oG7bTvLR-lkp@intel.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Guoqing Jiang In-Reply-To: <202310091735.oG7bTvLR-lkp@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Hi, On 10/9/23 17:54, kernel test robot wrote: > Hi Guoqing, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on rdma/for-next] > [also build test WARNING on linus/master v6.6-rc5 next-20231009] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Guoqing-Jiang/RDMA-siw-Introduce-siw_get_page/20231009-152705 > base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next > patch link: https://lore.kernel.org/r/20231009071801.10210-20-guoqing.jiang%40linux.dev > patch subject: [PATCH 19/19] RDMA/siw: Introduce siw_destroy_cep_sock > config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231009/202310091735.oG7bTvLR-lkp@intel.com/config) > compiler: m68k-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231009/202310091735.oG7bTvLR-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 > | Closes: https://lore.kernel.org/oe-kbuild-all/202310091735.oG7bTvLR-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > drivers/infiniband/sw/siw/siw_cm.c:360:6: warning: no previous prototype for 'siw_free_cm_id' [-Wmissing-prototypes] > 360 | void siw_free_cm_id(struct siw_cep *cep, bool put_cep) > | ^~~~~~~~~~~~~~ >>> drivers/infiniband/sw/siw/siw_cm.c:371:6: warning: no previous prototype for 'siw_destroy_cep_sock' [-Wmissing-prototypes] > 371 | void siw_destroy_cep_sock(struct siw_cep *cep) > | ^~~~~~~~~~~~~~~~~~~~ > > > vim +/siw_destroy_cep_sock +371 drivers/infiniband/sw/siw/siw_cm.c Thanks for the test, I suppose add "static" at the beginning of the two lines will resolve the warnings. Thanks, Guoqing