Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2381794pxb; Fri, 25 Mar 2022 16:53:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwti7WUcjalNWP3jyYIamkxsKWpoHnAlZ8uYZISXsv/1Xvpd/NmQpIp3uYi/SVJdlamabvc X-Received: by 2002:a17:90b:1811:b0:1c7:832a:3388 with SMTP id lw17-20020a17090b181100b001c7832a3388mr15718137pjb.40.1648252400702; Fri, 25 Mar 2022 16:53:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648252400; cv=none; d=google.com; s=arc-20160816; b=lXpM/NtZXh299S8Z8h6g9JDD8tnMccf6RyIpTDGgZMLBRGJW736BSP3PuJQsak3Rcc A5ob22u52rbTKX1WGj7qELd7Xp7t3DN5OJisxl0YtCQdN+c9qZ6/HFseLz0cOvzR5nJm Xp2PMnLaE2nmaonHCARocQkmzXxhlKXJHx+6IFou+klWlVelicEhjfbpFGCAiuFXwwM5 3f6qOdD5qsdf6Xs++Q3YLNYEMkT7Knvl7MqXdGzsV0JXvLJLIMDZ+tIQ7lwhNkV6FhkD RSqTKPhKkRkn9P4tWY2zEKefas56J5+jbaWG9+JYJvhucCOxBXFhsFO9bUkAPd9GMQ1S rMLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=o5IBO2Gn4iz2h6g0BS7WyAkF4/5Q6bB0all8Y43JN20=; b=JfEFFnO4EWLC5vC8svugRUhU/zu5a/JgG/oAYQ9YnXC0djFdSByGJRhrGbwT2ozgai Bg3Xegm5mpaSDJ0kgj4I+bCVO0Ae3vONkMbD7EjqxdLeFj5aJ6GliEHqii2p8aGawP4j wwoCXwMg6za0sWZBbkADzNgsb/XVkGsJ/brBpUNHw/NWkDo/esZV9/3sylfejso3FaX3 wN8PMX7HbeAjhcOiv/T8fxIzxF8Hf4rFbrD8FM+DgTx3GfrAg7hb9hk+mVCyZf2ih12R soYhAm0Cgf/8O9BtA/jVsm5K1TlEugZ8BgfWfvwRYBov28fdBeboF+ttnRh4rrrk7hbI PRDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=M7SEuDo0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j5-20020a17090ac48500b001bd14e030b7si3650729pjt.143.2022.03.25.16.53.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 16:53:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=M7SEuDo0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 976E05A16F; Fri, 25 Mar 2022 16:26:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234184AbiCYX2A (ORCPT + 99 others); Fri, 25 Mar 2022 19:28:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234199AbiCYX1y (ORCPT ); Fri, 25 Mar 2022 19:27:54 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D0BB4A3F0; Fri, 25 Mar 2022 16:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648250778; x=1679786778; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XkoxMwHd9gW4bb7hINhoqrJqu4OqA0ycYEJM8nkG41Y=; b=M7SEuDo02qJ92C1ljlz5RJHBSPVtnvmGGUEqquHcbAKADXfTTXlhLjoW sAuUC1XAoHiFbkMA4V9bHVrk5t85kEJxHxWwYudV6n4kIEiJ6yH6TE98X JDkNVbN+F7v7IUXIjw8y5aiTjbqGOvO26TCSCNo+3MG4BRnfowYtf9dfS u0iOZhFoSa6L8UhBgxdrSDqy5khDVsTEffeUAOz2KS/PJgxPM4CQ8AVuz YKelimFVjq8Skyfvma7v7vF2ITzVdcTDeOju5eSJKOk7BZpW4ZY4bnNIJ vbqFIKdFzNLNvtMZBHJPo+IPG8up9EFhcWAzQdKSH21TZ7lr6HT8t/Y4k w==; X-IronPort-AV: E=McAfee;i="6200,9189,10297"; a="283615523" X-IronPort-AV: E=Sophos;i="5.90,211,1643702400"; d="scan'208";a="283615523" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2022 16:26:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,211,1643702400"; d="scan'208";a="553371036" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 25 Mar 2022 16:26:11 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nXtJq-000Mii-Nz; Fri, 25 Mar 2022 23:26:10 +0000 Date: Sat, 26 Mar 2022 07:25:58 +0800 From: kernel test robot To: Jeffle Xu , 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 Message-ID: <202203260720.uA5o7k5w-lkp@intel.com> References: <20220325122223.102958-4-jefflexu@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220325122223.102958-4-jefflexu@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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