From: kernel test robot <lkp@intel.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [cel:nfsd-testing 10/10] net/sunrpc/sched.c:411:10: error: no member named 'tk_pid' in 'struct rpc_task'
Date: Thu, 13 Jun 2024 08:02:45 +0800 [thread overview]
Message-ID: <202406130811.7nwAH0zD-lkp@intel.com> (raw)
tree: git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux nfsd-testing
head: 322bb43cff91c5d5f74f7249adad9dc75fffa231
commit: 322bb43cff91c5d5f74f7249adad9dc75fffa231 [10/10] SUNRPC: Emit a trace event when a timeout occurs
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20240613/202406130811.7nwAH0zD-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 4403cdbaf01379de96f8d0d6ea4f51a085e37766)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240613/202406130811.7nwAH0zD-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/202406130811.7nwAH0zD-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from net/sunrpc/clnt.c:24:
In file included from include/linux/kallsyms.h:13:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> net/sunrpc/clnt.c:2373:19: warning: unused variable 'req' [-Wunused-variable]
2373 | struct rpc_rqst *req = task->tk_rqstp;
| ^~~
2 warnings generated.
--
In file included from net/sunrpc/sched.c:16:
In file included from include/linux/interrupt.h:21:
In file included from arch/riscv/include/asm/sections.h:9:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> net/sunrpc/sched.c:411:10: error: no member named 'tk_pid' in 'struct rpc_task'
411 | task->tk_pid,
| ~~~~ ^
1 warning and 1 error generated.
vim +411 net/sunrpc/sched.c
399
400 static void __rpc_sleep_on_priority_timeout(struct rpc_wait_queue *q,
401 struct rpc_task *task, unsigned long timeout,
402 unsigned char queue_priority)
403 {
404 if (WARN_ON_ONCE(RPC_IS_QUEUED(task)))
405 return;
406 if (time_is_after_jiffies(timeout)) {
407 __rpc_do_sleep_on_priority(q, task, queue_priority);
408 __rpc_add_timer(q, task, timeout);
409 } else {
410 trace_printk("task:%08x@%08x timed out\n",
> 411 task->tk_pid,
412 task->tk_client ? task->tk_client->cl_clid : -1);
413 task->tk_status = -ETIMEDOUT;
414 }
415 }
416
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-06-13 0:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202406130811.7nwAH0zD-lkp@intel.com \
--to=lkp@intel.com \
--cc=chuck.lever@oracle.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).