Re: [RFC PATCH] mmc: cqhci: keep CQE enabled if halt times out

kernel test robot <[email protected]> Tue, 4 Aug 2026 16:35:09 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
Hi Pengpeng,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on riteshharjani/for-next v7.2-rc6 next-20260803]
[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/Pengpeng-Hou/mmc-cqhci-keep-CQE-enabled-if-halt-times-out/20260804-080106
base:   linus/master
patch link:    https://lore.kernel.org/r/20260623140401.80963-1-pengpeng%40iscas.ac.cn
patch subject: [RFC PATCH] mmc: cqhci: keep CQE enabled if halt times out
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20260804/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260804/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> drivers/mmc/host/cqhci-core.c:1136:20: error: initialization of 'void (*)(struct mmc_host *)' from incompatible pointer type 'bool (*)(struct mmc_host *)' {aka '_Bool (*)(struct mmc_host *)'} [-Wincompatible-pointer-types]
    1136 |         .cqe_off = cqhci_off,
         |                    ^~~~~~~~~
   drivers/mmc/host/cqhci-core.c:1136:20: note: (near initialization for 'cqhci_cqe_ops.cqe_off')
   drivers/mmc/host/cqhci-core.c:375:13: note: 'cqhci_off' declared here
     375 | static bool cqhci_off(struct mmc_host *mmc)
         |             ^~~~~~~~~


vim +1136 drivers/mmc/host/cqhci-core.c

a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1130  
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1131  static const struct mmc_cqe_ops cqhci_cqe_ops = {
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1132  	.cqe_enable = cqhci_enable,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1133  	.cqe_disable = cqhci_disable,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1134  	.cqe_request = cqhci_request,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1135  	.cqe_post_req = cqhci_post_req,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29 @1136  	.cqe_off = cqhci_off,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1137  	.cqe_wait_for_idle = cqhci_wait_for_idle,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1138  	.cqe_timeout = cqhci_timeout,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1139  	.cqe_recovery_start = cqhci_recovery_start,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1140  	.cqe_recovery_finish = cqhci_recovery_finish,
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1141  };
a4080225f51dce drivers/mmc/host/cqhci.c Venkat Gopalakrishnan 2017-11-29  1142  

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