Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH] [RFC] nfs4: inject process namespace into COMPOUND tag
       [not found] <20260626151029.1516839-1-tigran.mkrtchyan@desy.de>
@ 2026-08-06  9:43 ` kernel test robot
  2026-08-07  5:02 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-08-06  9:43 UTC (permalink / raw)
  To: Tigran Mkrtchyan; +Cc: llvm, oe-kbuild-all

Hi Tigran,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on trondmy-nfs/linux-next]
[also build test ERROR on linus/master v7.2-rc6 next-20260805]
[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/Tigran-Mkrtchyan/nfs4-inject-process-namespace-into-COMPOUND-tag/20260806-105541
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
patch link:    https://lore.kernel.org/r/20260626151029.1516839-1-tigran.mkrtchyan%40desy.de
patch subject: [PATCH] [RFC] nfs4: inject process namespace into COMPOUND tag
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260806/202608061151.ZYrYBoPN-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/202608061151.ZYrYBoPN-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608061151.ZYrYBoPN-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/nfs/nfs4xdr.c:1039:7: error: use of undeclared identifier 'taks'
    1039 |                 if (taks->tk_ns_inum != 0) {
         |                     ^~~~
   fs/nfs/nfs4xdr.c:1042:60: error: use of undeclared identifier 'taks'
    1042 |                         hdr->taglen = snprintf(ns_tag, sizeof(ns_tag), "ns:%u", taks->tk_ns_inum);
         |                                                                                 ^~~~
   2 errors generated.


vim +/taks +1039 fs/nfs/nfs4xdr.c

  1027	
  1028	static void encode_compound_hdr(struct xdr_stream *xdr,
  1029					struct rpc_rqst *req,
  1030					struct compound_hdr *hdr)
  1031	{
  1032		__be32 *p;
  1033	
  1034		/* Inject namespace info into compound tag if not already set */
  1035		if (hdr->taglen == 0 && req->rq_task != NULL) {
  1036			/* Use namespace info captured at task creation time */
  1037			struct rpc_task *task = req->rq_task;
  1038	
> 1039			if (taks->tk_ns_inum != 0) {
  1040				char ns_tag[NFS4_MAXTAGLEN + 1];
  1041	
  1042				hdr->taglen = snprintf(ns_tag, sizeof(ns_tag), "ns:%u", taks->tk_ns_inum);
  1043				if (hdr->taglen > NFS4_MAXTAGLEN) {
  1044					hdr->taglen = NFS4_MAXTAGLEN;
  1045					ns_tag[NFS4_MAXTAGLEN] = '\0';
  1046				}
  1047				hdr->tag = ns_tag;
  1048			}
  1049		}
  1050	
  1051		/* initialize running count of expected bytes in reply.
  1052		 * NOTE: the replied tag SHOULD be the same is the one sent,
  1053		 * but this is not required as a MUST for the server to do so. */
  1054		hdr->replen = 3 + hdr->taglen;
  1055	
  1056		WARN_ON_ONCE(hdr->taglen > NFS4_MAXTAGLEN);
  1057		encode_string(xdr, hdr->taglen, hdr->tag);
  1058		p = reserve_space(xdr, 8);
  1059		*p++ = cpu_to_be32(hdr->minorversion);
  1060		hdr->nops_p = p;
  1061		*p = cpu_to_be32(hdr->nops);
  1062	}
  1063	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [RFC] nfs4: inject process namespace into COMPOUND tag
       [not found] <20260626151029.1516839-1-tigran.mkrtchyan@desy.de>
  2026-08-06  9:43 ` [PATCH] [RFC] nfs4: inject process namespace into COMPOUND tag kernel test robot
@ 2026-08-07  5:02 ` kernel test robot
  1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-08-07  5:02 UTC (permalink / raw)
  To: Tigran Mkrtchyan; +Cc: llvm, oe-kbuild-all

Hi Tigran,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on trondmy-nfs/linux-next]
[also build test ERROR on linus/master v7.2-rc6 next-20260806]
[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/Tigran-Mkrtchyan/nfs4-inject-process-namespace-into-COMPOUND-tag/20260806-105541
base:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git linux-next
patch link:    https://lore.kernel.org/r/20260626151029.1516839-1-tigran.mkrtchyan%40desy.de
patch subject: [PATCH] [RFC] nfs4: inject process namespace into COMPOUND tag
config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20260807/202608071235.7jvY6oOL-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 12df34b8469b8095359de8c249cb1b2753fadeea)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260807/202608071235.7jvY6oOL-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608071235.7jvY6oOL-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/nfs/nfs4xdr.c:1039:7: error: use of undeclared identifier 'taks'
    1039 |                 if (taks->tk_ns_inum != 0) {
         |                     ^~~~
   fs/nfs/nfs4xdr.c:1042:60: error: use of undeclared identifier 'taks'
    1042 |                         hdr->taglen = snprintf(ns_tag, sizeof(ns_tag), "ns:%u", taks->tk_ns_inum);
         |                                                                                 ^~~~
   2 errors generated.


vim +/taks +1039 fs/nfs/nfs4xdr.c

  1027	
  1028	static void encode_compound_hdr(struct xdr_stream *xdr,
  1029					struct rpc_rqst *req,
  1030					struct compound_hdr *hdr)
  1031	{
  1032		__be32 *p;
  1033	
  1034		/* Inject namespace info into compound tag if not already set */
  1035		if (hdr->taglen == 0 && req->rq_task != NULL) {
  1036			/* Use namespace info captured at task creation time */
  1037			struct rpc_task *task = req->rq_task;
  1038	
> 1039			if (taks->tk_ns_inum != 0) {
  1040				char ns_tag[NFS4_MAXTAGLEN + 1];
  1041	
  1042				hdr->taglen = snprintf(ns_tag, sizeof(ns_tag), "ns:%u", taks->tk_ns_inum);
  1043				if (hdr->taglen > NFS4_MAXTAGLEN) {
  1044					hdr->taglen = NFS4_MAXTAGLEN;
  1045					ns_tag[NFS4_MAXTAGLEN] = '\0';
  1046				}
  1047				hdr->tag = ns_tag;
  1048			}
  1049		}
  1050	
  1051		/* initialize running count of expected bytes in reply.
  1052		 * NOTE: the replied tag SHOULD be the same is the one sent,
  1053		 * but this is not required as a MUST for the server to do so. */
  1054		hdr->replen = 3 + hdr->taglen;
  1055	
  1056		WARN_ON_ONCE(hdr->taglen > NFS4_MAXTAGLEN);
  1057		encode_string(xdr, hdr->taglen, hdr->tag);
  1058		p = reserve_space(xdr, 8);
  1059		*p++ = cpu_to_be32(hdr->minorversion);
  1060		hdr->nops_p = p;
  1061		*p = cpu_to_be32(hdr->nops);
  1062	}
  1063	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-07  5:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260626151029.1516839-1-tigran.mkrtchyan@desy.de>
2026-08-06  9:43 ` [PATCH] [RFC] nfs4: inject process namespace into COMPOUND tag kernel test robot
2026-08-07  5:02 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox