public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jeffle Xu <jefflexu@linux.alibaba.com>,
	dhowells@redhat.com, linux-cachefs@redhat.com, xiang@kernel.org,
	chao@kernel.org, linux-erofs@lists.ozlabs.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	torvalds@linux-foundation.org, gregkh@linuxfoundation.org,
	willy@infradead.org, linux-fsdevel@vger.kernel.org,
	joseph.qi@linux.alibaba.com, bo.liu@linux.alibaba.com,
	tao.peng@linux.alibaba.com, gerry@linux.alibaba.com,
	eguan@linux.alibaba.com, linux-kernel@vger.kernel.org,
	luodaowen.backend@bytedance.com, tianzichen@kuaishou.com,
	fannaihao@baidu.com
Subject: Re: [PATCH v6 03/22] cachefiles: notify user daemon with anon_fd when looking up cookie
Date: Sat, 26 Mar 2022 07:25:58 +0800	[thread overview]
Message-ID: <202203260720.uA5o7k5w-lkp@intel.com> (raw)
In-Reply-To: <20220325122223.102958-4-jefflexu@linux.alibaba.com>

Hi Jeffle,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on trondmy-nfs/linux-next]
[also build test ERROR on rostedt-trace/for-next linus/master v5.17]
[cannot apply to xiang-erofs/dev-test dhowells-fs/fscache-next next-20220325]
[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]

url:    https://github.com/0day-ci/linux/commits/Jeffle-Xu/fscache-erofs-fscache-based-on-demand-read-semantics/20220325-203555
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220326/202203260720.uA5o7k5w-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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
        # https://github.com/0day-ci/linux/commit/ec8aa2f84eb47244377e4b822dd77d82ee54714a
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jeffle-Xu/fscache-erofs-fscache-based-on-demand-read-semantics/20220325-203555
        git checkout ec8aa2f84eb47244377e4b822dd77d82ee54714a
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from fs/cachefiles/cache.c:11:
>> fs/cachefiles/internal.h:285:9: warning: no previous prototype for function 'cachefiles_ondemand_daemon_read' [-Wmissing-prototypes]
   ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache,
           ^
   fs/cachefiles/internal.h:285:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   ssize_t cachefiles_ondemand_daemon_read(struct cachefiles_cache *cache,
   ^
   static 
   1 warning generated.
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/daemon.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/interface.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/io.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/key.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/main.o:(.text+0x38C0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/namei.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/security.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/volume.o:(.text+0x0)
--
>> ld.lld: error: duplicate symbol: cachefiles_ondemand_daemon_read
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/cache.o:(cachefiles_ondemand_daemon_read)
   >>> defined at internal.h:287 (fs/cachefiles/internal.h:287)
   >>> fs/cachefiles/xattr.o:(.text+0x0)

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

           reply	other threads:[~2022-03-25 23:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20220325122223.102958-4-jefflexu@linux.alibaba.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202203260720.uA5o7k5w-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bo.liu@linux.alibaba.com \
    --cc=chao@kernel.org \
    --cc=dhowells@redhat.com \
    --cc=eguan@linux.alibaba.com \
    --cc=fannaihao@baidu.com \
    --cc=gerry@linux.alibaba.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jefflexu@linux.alibaba.com \
    --cc=joseph.qi@linux.alibaba.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-cachefs@redhat.com \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=luodaowen.backend@bytedance.com \
    --cc=tao.peng@linux.alibaba.com \
    --cc=tianzichen@kuaishou.com \
    --cc=torvalds@linux-foundation.org \
    --cc=willy@infradead.org \
    --cc=xiang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox