From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (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 47EF8224D7; Thu, 21 Mar 2024 17:49:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711043399; cv=none; b=RQZJF236G0ZimN0FGXCMoHmUAD+tx19DqCy4vTc/fVl1dl5pgkxVBF8QAaZw5LLPWjrnggfhn6SqcgewHp5jbAN17eoOUMb7kxICy+0avauy4N92a2rjr5LF5wBpQ3JNJBA5GaB2niE2Go9Vh9mu+q3HAEDM3WxAvcXcs4NvYlk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711043399; c=relaxed/simple; bh=NR+rdo36gKBa+l8fjrARSPQjorU+osIrosA47pyGyXQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=HP0DeeEpfE/9CVHS5XeFT26aJ5k/jaJwOADUx6VmBHIQHB+KU5uEvqfcLpjExFzEkM6BFb31FEkV/M0ChhKbJ9J1VMUe3/8IECkQUebTh5+7mMiM/7LTN8M2Wm8e/8c1boXR+nb9Do8TlkUD8lhrD+5tns24nAhB+kZkbHB7uU4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=WPSnVagf; arc=none smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="WPSnVagf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711043397; x=1742579397; h=date:from:to:cc:subject:message-id:mime-version; bh=NR+rdo36gKBa+l8fjrARSPQjorU+osIrosA47pyGyXQ=; b=WPSnVagfw/4Qwp1+jZw8NHg9zrEERI7IaWikayCVw9X91FxNznUBVOKu EWAcvJfzkaUX+D4/g5zfCNF+Jbrr15xwTkzfSqVDPiRjS2nfc8dMfdz6J Wqyk8TfzXyOoYIf7fVxpAREBYyqTJ08DarMe5tD8nePTk62DGvDfGZ/qE aGL+a75UmJ/ZY702Z0qBxmhOzq4g/jE8NkFow4nN/ckrXxq+Nm27QgrkD 1lbRe1wBUQ60xT03CdLIQBJFasRGPBBMnJN5VkZ8hQV5yKQYL3TQDQxxX k02HTftxdLhsQ0ChNu8RfOdRWH6McntsstGp9OKBMzS210xKK5yCMTqrZ g==; X-IronPort-AV: E=McAfee;i="6600,9927,11020"; a="31491063" X-IronPort-AV: E=Sophos;i="6.07,143,1708416000"; d="scan'208";a="31491063" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2024 10:49:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,143,1708416000"; d="scan'208";a="19164577" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 21 Mar 2024 10:49:55 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rnMY4-000JfD-2h; Thu, 21 Mar 2024 17:49:52 +0000 Date: Fri, 22 Mar 2024 01:49:48 +0800 From: kernel test robot To: Jeff Layton Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Subject: [jlayton:dir-deleg 2/25] fs/nfsd/nfs4xdr.c:5670:28: error: use of undeclared identifier 'nfsd4_encode_get_dir_delegation'; did you mean 'nfsd4_decode_get_dir_delegation'? Message-ID: <202403220140.684w13Ic-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git dir-deleg head: 2d69b21ee3c12afd89c876906ded927aaf1add2c commit: ce5c0facdf0d50ca85e4943ea68e02685a0a5001 [2/25] nfsd: trivial GET_DIR_DELEGATION support config: x86_64-kexec (https://download.01.org/0day-ci/archive/20240322/202403220140.684w13Ic-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240322/202403220140.684w13Ic-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/202403220140.684w13Ic-lkp@intel.com/ All errors (new ones prefixed by >>): >> fs/nfsd/nfs4xdr.c:5670:28: error: use of undeclared identifier 'nfsd4_encode_get_dir_delegation'; did you mean 'nfsd4_decode_get_dir_delegation'? 5670 | [OP_GET_DIR_DELEGATION] = nfsd4_encode_get_dir_delegation, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | nfsd4_decode_get_dir_delegation fs/nfsd/nfs4xdr.c:1736:1: note: 'nfsd4_decode_get_dir_delegation' declared here 1736 | nfsd4_decode_get_dir_delegation(struct nfsd4_compoundargs *argp, | ^ >> fs/nfsd/nfs4xdr.c:5670:28: error: incompatible function pointer types initializing 'const nfsd4_enc' (aka 'unsigned int (*const)(struct nfsd4_compoundres *, unsigned int, union nfsd4_op_u *)') with an expression of type '__be32 (struct nfsd4_compoundargs *, union nfsd4_op_u *)' (aka 'unsigned int (struct nfsd4_compoundargs *, union nfsd4_op_u *)') [-Wincompatible-function-pointer-types] 5670 | [OP_GET_DIR_DELEGATION] = nfsd4_encode_get_dir_delegation, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. vim +5670 fs/nfsd/nfs4xdr.c 5618 5619 /* 5620 * Note: nfsd4_enc_ops vector is shared for v4.0 and v4.1 5621 * since we don't need to filter out obsolete ops as this is 5622 * done in the decoding phase. 5623 */ 5624 static const nfsd4_enc nfsd4_enc_ops[] = { 5625 [OP_ACCESS] = nfsd4_encode_access, 5626 [OP_CLOSE] = nfsd4_encode_close, 5627 [OP_COMMIT] = nfsd4_encode_commit, 5628 [OP_CREATE] = nfsd4_encode_create, 5629 [OP_DELEGPURGE] = nfsd4_encode_noop, 5630 [OP_DELEGRETURN] = nfsd4_encode_noop, 5631 [OP_GETATTR] = nfsd4_encode_getattr, 5632 [OP_GETFH] = nfsd4_encode_getfh, 5633 [OP_LINK] = nfsd4_encode_link, 5634 [OP_LOCK] = nfsd4_encode_lock, 5635 [OP_LOCKT] = nfsd4_encode_lockt, 5636 [OP_LOCKU] = nfsd4_encode_locku, 5637 [OP_LOOKUP] = nfsd4_encode_noop, 5638 [OP_LOOKUPP] = nfsd4_encode_noop, 5639 [OP_NVERIFY] = nfsd4_encode_noop, 5640 [OP_OPEN] = nfsd4_encode_open, 5641 [OP_OPENATTR] = nfsd4_encode_noop, 5642 [OP_OPEN_CONFIRM] = nfsd4_encode_open_confirm, 5643 [OP_OPEN_DOWNGRADE] = nfsd4_encode_open_downgrade, 5644 [OP_PUTFH] = nfsd4_encode_noop, 5645 [OP_PUTPUBFH] = nfsd4_encode_noop, 5646 [OP_PUTROOTFH] = nfsd4_encode_noop, 5647 [OP_READ] = nfsd4_encode_read, 5648 [OP_READDIR] = nfsd4_encode_readdir, 5649 [OP_READLINK] = nfsd4_encode_readlink, 5650 [OP_REMOVE] = nfsd4_encode_remove, 5651 [OP_RENAME] = nfsd4_encode_rename, 5652 [OP_RENEW] = nfsd4_encode_noop, 5653 [OP_RESTOREFH] = nfsd4_encode_noop, 5654 [OP_SAVEFH] = nfsd4_encode_noop, 5655 [OP_SECINFO] = nfsd4_encode_secinfo, 5656 [OP_SETATTR] = nfsd4_encode_setattr, 5657 [OP_SETCLIENTID] = nfsd4_encode_setclientid, 5658 [OP_SETCLIENTID_CONFIRM] = nfsd4_encode_noop, 5659 [OP_VERIFY] = nfsd4_encode_noop, 5660 [OP_WRITE] = nfsd4_encode_write, 5661 [OP_RELEASE_LOCKOWNER] = nfsd4_encode_noop, 5662 5663 /* NFSv4.1 operations */ 5664 [OP_BACKCHANNEL_CTL] = nfsd4_encode_noop, 5665 [OP_BIND_CONN_TO_SESSION] = nfsd4_encode_bind_conn_to_session, 5666 [OP_EXCHANGE_ID] = nfsd4_encode_exchange_id, 5667 [OP_CREATE_SESSION] = nfsd4_encode_create_session, 5668 [OP_DESTROY_SESSION] = nfsd4_encode_noop, 5669 [OP_FREE_STATEID] = nfsd4_encode_noop, > 5670 [OP_GET_DIR_DELEGATION] = nfsd4_encode_get_dir_delegation, 5671 #ifdef CONFIG_NFSD_PNFS 5672 [OP_GETDEVICEINFO] = nfsd4_encode_getdeviceinfo, 5673 [OP_GETDEVICELIST] = nfsd4_encode_noop, 5674 [OP_LAYOUTCOMMIT] = nfsd4_encode_layoutcommit, 5675 [OP_LAYOUTGET] = nfsd4_encode_layoutget, 5676 [OP_LAYOUTRETURN] = nfsd4_encode_layoutreturn, 5677 #else 5678 [OP_GETDEVICEINFO] = nfsd4_encode_noop, 5679 [OP_GETDEVICELIST] = nfsd4_encode_noop, 5680 [OP_LAYOUTCOMMIT] = nfsd4_encode_noop, 5681 [OP_LAYOUTGET] = nfsd4_encode_noop, 5682 [OP_LAYOUTRETURN] = nfsd4_encode_noop, 5683 #endif 5684 [OP_SECINFO_NO_NAME] = nfsd4_encode_secinfo_no_name, 5685 [OP_SEQUENCE] = nfsd4_encode_sequence, 5686 [OP_SET_SSV] = nfsd4_encode_noop, 5687 [OP_TEST_STATEID] = nfsd4_encode_test_stateid, 5688 [OP_WANT_DELEGATION] = nfsd4_encode_noop, 5689 [OP_DESTROY_CLIENTID] = nfsd4_encode_noop, 5690 [OP_RECLAIM_COMPLETE] = nfsd4_encode_noop, 5691 5692 /* NFSv4.2 operations */ 5693 [OP_ALLOCATE] = nfsd4_encode_noop, 5694 [OP_COPY] = nfsd4_encode_copy, 5695 [OP_COPY_NOTIFY] = nfsd4_encode_copy_notify, 5696 [OP_DEALLOCATE] = nfsd4_encode_noop, 5697 [OP_IO_ADVISE] = nfsd4_encode_noop, 5698 [OP_LAYOUTERROR] = nfsd4_encode_noop, 5699 [OP_LAYOUTSTATS] = nfsd4_encode_noop, 5700 [OP_OFFLOAD_CANCEL] = nfsd4_encode_noop, 5701 [OP_OFFLOAD_STATUS] = nfsd4_encode_offload_status, 5702 [OP_READ_PLUS] = nfsd4_encode_read_plus, 5703 [OP_SEEK] = nfsd4_encode_seek, 5704 [OP_WRITE_SAME] = nfsd4_encode_noop, 5705 [OP_CLONE] = nfsd4_encode_noop, 5706 5707 /* RFC 8276 extended atributes operations */ 5708 [OP_GETXATTR] = nfsd4_encode_getxattr, 5709 [OP_SETXATTR] = nfsd4_encode_setxattr, 5710 [OP_LISTXATTRS] = nfsd4_encode_listxattrs, 5711 [OP_REMOVEXATTR] = nfsd4_encode_removexattr, 5712 }; 5713 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki