All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dai Ngo <dai.ngo@oracle.com>, chuck.lever@oracle.com
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-nfs@vger.kernel.org
Subject: Re: [PATCH 2/2] NFSD: add shrinker to reap courtesy clients on low memory condition
Date: Sat, 27 Aug 2022 14:31:18 +0800	[thread overview]
Message-ID: <202208271403.SinCnRF0-lkp@intel.com> (raw)
In-Reply-To: <1661554886-26025-3-git-send-email-dai.ngo@oracle.com>

Hi Dai,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v6.0-rc2 next-20220826]
[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/Dai-Ngo/NFSD-memory-shrinker-for-NFSv4-clients/20220827-070241
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e022620b5d056e822e42eb9bc0f24fcb97389d86
config: i386-randconfig-a015 (https://download.01.org/0day-ci/archive/20220827/202208271403.SinCnRF0-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/intel-lab-lkp/linux/commit/8430e1a9491e9b4470a68f989a004b579e37fb73
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Dai-Ngo/NFSD-memory-shrinker-for-NFSv4-clients/20220827-070241
        git checkout 8430e1a9491e9b4470a68f989a004b579e37fb73
        # 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=i386 SHELL=/bin/bash fs/

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

All errors (new ones prefixed by >>):

   In file included from fs/nfsd/trace.c:4:
   In file included from fs/nfsd/trace.h:488:
   In file included from fs/nfsd/state.h:42:
>> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement
   static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 };
                                                                          ^
                                                                          ;
   1 error generated.
--
   In file included from fs/nfsd/nfsctl.c:23:
>> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement
   static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 };
                                                                          ^
                                                                          ;
>> fs/nfsd/nfsctl.c:1511:2: error: implicit declaration of function 'nfsd4_leases_net_shutdown' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
           nfsd4_leases_net_shutdown(nn);
           ^
   fs/nfsd/nfsctl.c:1511:2: note: did you mean 'nfsd4_leases_shutdown'?
   fs/nfsd/nfsd.h:514:20: note: 'nfsd4_leases_shutdown' declared here
   static inline void nfsd4_leases_shutdown(struct nfsd_net *nn) { };
                      ^
   2 errors generated.
--
   In file included from fs/nfsd/export.c:21:
>> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement
   static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 };
                                                                          ^
                                                                          ;
   fs/nfsd/export.c:979:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable]
           struct inode            *inode;
                                    ^
   1 warning and 1 error generated.
--
   In file included from fs/nfsd/trace.c:4:
   In file included from fs/nfsd/trace.h:488:
   In file included from fs/nfsd/state.h:42:
>> fs/nfsd/nfsd.h:513:72: error: expected ';' after return statement
   static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 };
                                                                          ^
                                                                          ;
   In file included from fs/nfsd/trace.c:4:
   In file included from fs/nfsd/trace.h:1407:
   include/trace/define_trace.h:95:10: fatal error: './trace.h' file not found
   #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/trace/define_trace.h:90:32: note: expanded from macro 'TRACE_INCLUDE'
   # define TRACE_INCLUDE(system) __TRACE_INCLUDE(system)
                                  ^~~~~~~~~~~~~~~~~~~~~~~
   include/trace/define_trace.h:87:34: note: expanded from macro '__TRACE_INCLUDE'
   # define __TRACE_INCLUDE(system) __stringify(TRACE_INCLUDE_PATH/system.h)
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/stringify.h:10:27: note: expanded from macro '__stringify'
   #define __stringify(x...)       __stringify_1(x)
                                   ^~~~~~~~~~~~~~~~
   include/linux/stringify.h:9:29: note: expanded from macro '__stringify_1'
   #define __stringify_1(x...)     #x
                                   ^~
   <scratch space>:56:1: note: expanded from here
   "./trace.h"
   ^~~~~~~~~~~
   2 errors generated.


vim +513 fs/nfsd/nfsd.h

   512	
 > 513	static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0 };
   514	static inline void nfsd4_leases_shutdown(struct nfsd_net *nn) { };
   515	

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

  reply	other threads:[~2022-08-27  6:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 23:01 [PATCH 0/2] NFSD: memory shrinker for NFSv4 clients Dai Ngo
2022-08-26 23:01 ` [PATCH 1/2] NFSD: keep track of the number of courtesy clients in the system Dai Ngo
2022-08-26 23:01 ` [PATCH 2/2] NFSD: add shrinker to reap courtesy clients on low memory condition Dai Ngo
2022-08-27  6:31   ` kernel test robot [this message]
2022-08-27  9:03   ` kernel test robot

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=202208271403.SinCnRF0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chuck.lever@oracle.com \
    --cc=dai.ngo@oracle.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.