From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BFEECC433EF for ; Tue, 7 Jun 2022 21:38:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1EEC66B0073; Tue, 7 Jun 2022 17:38:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 19FBE6B007E; Tue, 7 Jun 2022 17:38:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 03FF86B0080; Tue, 7 Jun 2022 17:38:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id E78086B0073 for ; Tue, 7 Jun 2022 17:38:13 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id BA77820F42 for ; Tue, 7 Jun 2022 21:38:13 +0000 (UTC) X-FDA: 79552753266.02.2548A61 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf19.hostedemail.com (Postfix) with ESMTP id 585801A004E for ; Tue, 7 Jun 2022 21:38:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654637891; x=1686173891; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=1ePpN/66ifBUrXzD9UOlIVYgsb6yN+4qexSlGr5Seyw=; b=arZnUizDBkHzRH5icynZq6l9WaNMyEY6eTcQYlnFn1mPkzwcks9LEEML sFye0EYia49nbbURH8czwMOZUh/81hygzjRyaYa1rMPMybctdLGkD+ZeA +XOGmkZE8KNC0e7+StXQttiyVeqXbNsX4NXCUAJS6nhI8vNEQUL1F6iL6 fI1m3SoFl3YexJ8PBU/Dk4XOJusGFe4WX5FCQ3GqIyNP5mUhDq6ALybdx 7KA7M780Nm8BNwgdwnSQTaONYJc19YlXhdbKtQeTkR9mrxBtpX4VrM1pg d5u9dFifO55mAelp+I3FEOB50ndh1hdaeS2PnZNzoDu0l1rIxutrf93ca Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10371"; a="256586557" X-IronPort-AV: E=Sophos;i="5.91,284,1647327600"; d="scan'208";a="256586557" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2022 14:38:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,284,1647327600"; d="scan'208";a="565615057" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 07 Jun 2022 14:38:07 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nygtq-000Dyj-A4; Tue, 07 Jun 2022 21:38:06 +0000 Date: Wed, 8 Jun 2022 05:38:02 +0800 From: kernel test robot To: Hao Xu , io-uring@vger.kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Jens Axboe , Pavel Begunkov , linux-fsdevel@vger.kernel.org, Alexander Viro , Andrew Morton , Linux Memory Management List , Luis Chamberlain , Kuniyuki Iwashima Subject: Re: [PATCH 4/5] io_uring: support nonblock try for splicing from pipe to pipe Message-ID: <202206080550.7nXmrsiv-lkp@intel.com> References: <20220607080619.513187-5-hao.xu@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220607080619.513187-5-hao.xu@linux.dev> X-Stat-Signature: n14fwig4q5o6jk41n7we377kzcjxiyi4 Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=arZnUizD; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf19.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.136) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 585801A004E X-HE-Tag: 1654637890-155730 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi Hao, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on d8271bf021438f468dab3cd84fe5279b5bbcead8] url: https://github.com/intel-lab-lkp/linux/commits/Hao-Xu/support-nonblock-submission-for-splice-pipe-to-pipe/20220607-161605 base: d8271bf021438f468dab3cd84fe5279b5bbcead8 config: mips-buildonly-randconfig-r001-20220607 (https://download.01.org/0day-ci/archive/20220608/202206080550.7nXmrsiv-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b92436efcb7813fc481b30f2593a4907568d917a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/96683840c3f19b77a536a259094d24e0cd93ebc0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Hao-Xu/support-nonblock-submission-for-splice-pipe-to-pipe/20220607-161605 git checkout 96683840c3f19b77a536a259094d24e0cd93ebc0 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> io_uring/splice.c:91:6: warning: no previous prototype for function 'io_splice_support_nowait' [-Wmissing-prototypes] bool io_splice_support_nowait(struct file *in, struct file *out) ^ io_uring/splice.c:91:1: note: declare 'static' if the function is not intended to be used outside of this translation unit bool io_splice_support_nowait(struct file *in, struct file *out) ^ static 1 warning generated. vim +/io_splice_support_nowait +91 io_uring/splice.c 90 > 91 bool io_splice_support_nowait(struct file *in, struct file *out) 92 { 93 if (get_pipe_info(in, true) && get_pipe_info(out, true)) 94 return true; 95 96 return false; 97 } 98 -- 0-DAY CI Kernel Test Service https://01.org/lkp