[kvalo-ath:ath11k-hibernation-support 4/9] drivers/accel/qaic/mhi_controller.c:545:9: error: too few arguments to function 'mhi_power_down'
kernel test robot
lkp at intel.com
Wed Jul 26 03:32:17 PDT 2023
tree: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath11k-hibernation-support
head: 2f0b0c54cf91e991ecddcdce331a741f7c55559f
commit: e1e2b7c6fc02d9f89f94d99e61516b1eb4cd4053 [4/9] bus: mhi: host: add destroy_device argument to mhi_power_down()
config: openrisc-randconfig-r001-20230726 (https://download.01.org/0day-ci/archive/20230726/202307261804.lOEj99hg-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230726/202307261804.lOEj99hg-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307261804.lOEj99hg-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/accel/qaic/mhi_controller.c: In function 'qaic_mhi_free_controller':
>> drivers/accel/qaic/mhi_controller.c:545:9: error: too few arguments to function 'mhi_power_down'
545 | mhi_power_down(mhi_cntrl, link_up);
| ^~~~~~~~~~~~~~
In file included from drivers/accel/qaic/mhi_controller.c:9:
include/linux/mhi.h:647:6: note: declared here
647 | void mhi_power_down(struct mhi_controller *mhi_cntrl, bool graceful,
| ^~~~~~~~~~~~~~
drivers/accel/qaic/mhi_controller.c: In function 'qaic_mhi_start_reset':
drivers/accel/qaic/mhi_controller.c:552:9: error: too few arguments to function 'mhi_power_down'
552 | mhi_power_down(mhi_cntrl, true);
| ^~~~~~~~~~~~~~
include/linux/mhi.h:647:6: note: declared here
647 | void mhi_power_down(struct mhi_controller *mhi_cntrl, bool graceful,
| ^~~~~~~~~~~~~~
vim +/mhi_power_down +545 drivers/accel/qaic/mhi_controller.c
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 542
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 543 void qaic_mhi_free_controller(struct mhi_controller *mhi_cntrl, bool link_up)
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 544 {
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 @545 mhi_power_down(mhi_cntrl, link_up);
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 546 mhi_unprepare_after_power_down(mhi_cntrl);
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 547 mhi_unregister_controller(mhi_cntrl);
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 548 }
a36bf7af868b4b8 Jeffrey Hugo 2023-03-27 549
:::::: The code at line 545 was first introduced by commit
:::::: a36bf7af868b4b84f026a752671df66f0809bd3d accel/qaic: Add MHI controller
:::::: TO: Jeffrey Hugo <quic_jhugo at quicinc.com>
:::::: CC: Jacek Lawrynowicz <jacek.lawrynowicz at linux.intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the ath10k
mailing list