Re: [PATCH] memstick: Convert to DEFINE_SIMPLE_DEV_PM_OPS()

From: kernel test robot

Date: Tue Aug 25 2026 - 22:15:44 EST


Hi Triet,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on v7.2 next-20260824]
[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/Triet-Hoang/memstick-Convert-to-DEFINE_SIMPLE_DEV_PM_OPS/20260825-152717
base: linus/master
patch link: https://lore.kernel.org/r/20260825082718.244949-1-triet.hoang.dev%40gmail.com
patch subject: [PATCH] memstick: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
config: riscv-randconfig-002-20260826 (https://download.01.org/0day-ci/archive/20260826/202608260945.vNkJPYxr-lkp@xxxxxxxxx/config)
compiler: clang version 21.1.8 (https://github.com/llvm/llvm-project 2078da43e25a4623cab2d0d60decddf709aaea28)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260826/202608260945.vNkJPYxr-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/202608260945.vNkJPYxr-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/memstick/host/r592.c:854:2: error: call to undeclared function 'r592_clear_interrupts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
854 | r592_clear_interrupts(dev);
| ^
drivers/memstick/host/r592.c:864:2: error: call to undeclared function 'r592_clear_interrupts'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
864 | r592_clear_interrupts(dev);
| ^
2 errors generated.


vim +/r592_clear_interrupts +854 drivers/memstick/host/r592.c

9263412501022fe Maxim Levitsky 2011-03-25 849
9263412501022fe Maxim Levitsky 2011-03-25 850 static int r592_suspend(struct device *core_dev)
9263412501022fe Maxim Levitsky 2011-03-25 851 {
deaa53989537c62 Chuhong Yuan 2019-07-23 852 struct r592_device *dev = dev_get_drvdata(core_dev);
9263412501022fe Maxim Levitsky 2011-03-25 853
9263412501022fe Maxim Levitsky 2011-03-25 @854 r592_clear_interrupts(dev);
9263412501022fe Maxim Levitsky 2011-03-25 855 memstick_suspend_host(dev->host);
8fa7292fee5c524 Thomas Gleixner 2025-04-05 856 timer_delete_sync(&dev->detect_timer);
9263412501022fe Maxim Levitsky 2011-03-25 857 return 0;
9263412501022fe Maxim Levitsky 2011-03-25 858 }
9263412501022fe Maxim Levitsky 2011-03-25 859

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