[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202512100224.drEVwdNL-lkp@intel.com>
Date: Wed, 10 Dec 2025 02:57:34 +0800
From: kernel test robot <lkp@...el.com>
To: "ping.gao" <ping.gao@...sung.com>, jh80.chung@...sung.com,
ulf.hansson@...aro.org, linux-mmc@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
"ping.gao" <ping.gao@...sung.com>
Subject: Re: [PATCH] mmc: dw_mmc: Use pre_request & post_request_end helper
Hi ping.gao,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on ulf-hansson-mmc-mirror/next v6.18 next-20251209]
[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/ping-gao/mmc-dw_mmc-Use-pre_request-post_request_end-helper/20251209-144626
base: linus/master
patch link: https://lore.kernel.org/r/20251209064910.3643039-1-ping.gao%40samsung.com
patch subject: [PATCH] mmc: dw_mmc: Use pre_request & post_request_end helper
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20251210/202512100224.drEVwdNL-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 6ec8c4351cfc1d0627d1633b02ea787bd29c77d8)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251210/202512100224.drEVwdNL-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512100224.drEVwdNL-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/mmc/host/dw_mmc.c:1902:49: error: no member named 'drv_dat' in 'struct dw_mci'
1902 | const struct dw_mci_drv_data *drv_data = host->drv_dat
| ~~~~ ^
>> drivers/mmc/host/dw_mmc.c:1904:2: error: expected expression
1904 | WARN_ON(host->cmd || host->data);
| ^
include/asm-generic/bug.h:109:29: note: expanded from macro 'WARN_ON'
109 | #define WARN_ON(condition) ({ \
| ^
2 errors generated.
vim +1902 drivers/mmc/host/dw_mmc.c
1895
1896 static void dw_mci_request_end(struct dw_mci *host, struct mmc_request *mrq)
1897 __releases(&host->lock)
1898 __acquires(&host->lock)
1899 {
1900 struct dw_mci_slot *slot;
1901 struct mmc_host *prev_mmc = host->slot->mmc;
> 1902 const struct dw_mci_drv_data *drv_data = host->drv_dat
1903
> 1904 WARN_ON(host->cmd || host->data);
1905
1906 host->slot->mrq = NULL;
1907 host->mrq = NULL;
1908 if (!list_empty(&host->queue)) {
1909 slot = list_entry(host->queue.next,
1910 struct dw_mci_slot, queue_node);
1911 list_del(&slot->queue_node);
1912 dev_vdbg(host->dev, "list not empty: %s is next\n",
1913 mmc_hostname(slot->mmc));
1914 host->state = STATE_SENDING_CMD;
1915 dw_mci_start_request(host, slot);
1916 } else {
1917 dev_vdbg(host->dev, "list empty\n");
1918
1919 if (host->state == STATE_SENDING_CMD11)
1920 host->state = STATE_WAITING_CMD11_DONE;
1921 else
1922 host->state = STATE_IDLE;
1923 }
1924
1925 spin_unlock(&host->lock);
1926 mmc_request_done(prev_mmc, mrq);
1927 if (drv_data && drv_data->post_request_end)
1928 drv_data->post_request_end(host);
1929 spin_lock(&host->lock);
1930 }
1931
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists