Re: [PATCH v3 1/3] pwm: make it possible to apply pwm changes in atomic context

kernel test robot
2023-10-21T23:55:47Z

Hi Sean,

kernel test robot noticed the following build errors:

[auto build test ERROR on media-tree/master]
[also build test ERROR on linus/master v6.6-rc6]
[cannot apply to thierry-reding-pwm/for-next dtor-input/next dtor-input/for-linus next-20231020]
[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/Sean-Young/pwm-make-it-possible-to-apply-pwm-changes-in-atomic-context/20231017-173221
base: git://linuxtv.org/media_tree.git master
patch link: https://lore.kernel.org/r/a7fcd19938d5422abc59c968ff7b3d5c275577ed.1697534024.git.sean%40mess.org
patch subject: [PATCH v3 1/3] pwm: make it possible to apply pwm changes in atomic context
config: openrisc-allmodconfig (https://download.01.org/0day-ci/archive/20231022/202310220706.HH9RMDHJ-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231022/202310220706.HH9RMDHJ-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/202310220706.HH9RMDHJ-lkp@intel.com/

All errors (new ones prefixed by >>):

drivers/media/rc/ir-rx51.c: In function 'ir_rx51_on':
>> drivers/media/rc/ir-rx51.c:37:9: error: implicit declaration of function 'pwm_apply_state'; did you mean 'pwm_apply_args'? [-Werror=implicit-function-declaration]
37 | pwm_apply_state(ir_rx51->pwm, &ir_rx51->state);
| ^~~~~~~~~~~~~~~
| pwm_apply_args
cc1: some warnings being treated as errors

vim +37 drivers/media/rc/ir-rx51.c

c332e8472d7db6 Timo Kokkonen 2012-08-10 33
a92def1becf33e Sean Young 2016-12-19 34 static inline void ir_rx51_on(struct ir_rx51 *ir_rx51)
c332e8472d7db6 Timo Kokkonen 2012-08-10 35 {
99076cd117c4cb Maíra Canal 2021-11-04 36 ir_rx51->state.enabled = true;
99076cd117c4cb Maíra Canal 2021-11-04 @37 pwm_apply_state(ir_rx51->pwm, &ir_rx51->state);
c332e8472d7db6 Timo Kokkonen 2012-08-10 38 }
c332e8472d7db6 Timo Kokkonen 2012-08-10 39

--
0-DAY CI Kernel Test Service