Re: [PATCH] misc: fastrpc: release pending invoke refs on rpmsg removal

From: kernel test robot

Date: Fri Aug 07 2026 - 18:09:58 EST


Hi Yousef,

kernel test robot noticed the following build errors:

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on char-misc/char-misc-next char-misc/char-misc-linus linus/master v7.2-rc6 next-20260807]
[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/Yousef-Alhouseen/misc-fastrpc-release-pending-invoke-refs-on-rpmsg-removal/20260807-130030
base: char-misc/char-misc-testing
patch link: https://lore.kernel.org/r/20260624192700.5388-1-alhouseenyousef%40gmail.com
patch subject: [PATCH] misc: fastrpc: release pending invoke refs on rpmsg removal
config: s390-randconfig-r122-20260807 (https://download.01.org/0day-ci/archive/20260808/202608080508.UGzRE4ZX-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260808/202608080508.UGzRE4ZX-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608080508.UGzRE4ZX-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/misc/fastrpc.c:2661:11: error: no member named 'sent' in 'struct fastrpc_invoke_ctx'
2661 | if (ctx->sent && !ctx->completed) {
| ~~~ ^
>> drivers/misc/fastrpc.c:2661:25: error: no member named 'completed' in 'struct fastrpc_invoke_ctx'
2661 | if (ctx->sent && !ctx->completed) {
| ~~~ ^
drivers/misc/fastrpc.c:2662:8: error: no member named 'completed' in 'struct fastrpc_invoke_ctx'
2662 | ctx->completed = true;
| ~~~ ^
3 errors generated.


vim +2661 drivers/misc/fastrpc.c

2656
2657 static int fastrpc_notify_context(int id, void *ptr, void *data)
2658 {
2659 struct fastrpc_invoke_ctx *ctx = ptr;
2660
> 2661 if (ctx->sent && !ctx->completed) {
2662 ctx->completed = true;
2663 schedule_work(&ctx->put_work);
2664 }
2665
2666 ctx->retval = -EPIPE;
2667 complete(&ctx->work);
2668
2669 return 0;
2670 }
2671

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