From: kernel test robot <lkp@intel.com>
To: "ping.gao" <ping.gao@samsung.com>,
jh80.chung@samsung.com, ulf.hansson@linaro.org,
linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, "ping.gao" <ping.gao@samsung.com>
Subject: Re: [PATCH] mmc: dw_mmc: Use pre_request & post_request_end helper
Date: Wed, 10 Dec 2025 02:05:06 +0800 [thread overview]
Message-ID: <202512100130.DkmKHepR-lkp@intel.com> (raw)
In-Reply-To: <20251209064910.3643039-1-ping.gao@samsung.com>
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: csky-randconfig-002-20251209 (https://download.01.org/0day-ci/archive/20251210/202512100130.DkmKHepR-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251210/202512100130.DkmKHepR-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/202512100130.DkmKHepR-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/mmc/host/dw_mmc.c: In function 'dw_mci_request_end':
>> drivers/mmc/host/dw_mmc.c:1902:56: error: 'struct dw_mci' has no member named 'drv_dat'; did you mean 'drv_data'?
1902 | const struct dw_mci_drv_data *drv_data = host->drv_dat
| ^~~~~~~
| drv_data
In file included from arch/csky/include/asm/bug.h:18,
from include/linux/bug.h:5,
from include/linux/random.h:6,
from include/linux/nodemask.h:94,
from include/linux/list_lru.h:12,
from include/linux/fs/super_types.h:7,
from include/linux/fs/super.h:5,
from include/linux/fs.h:5,
from include/linux/highmem.h:5,
from include/linux/bvec.h:10,
from include/linux/blk_types.h:10,
from include/linux/blkdev.h:9,
from drivers/mmc/host/dw_mmc.c:10:
>> include/asm-generic/bug.h:154:29: error: expected expression before '{' token
154 | #define WARN_ON(condition) ({ \
| ^
drivers/mmc/host/dw_mmc.c:1904:9: note: in expansion of macro 'WARN_ON'
1904 | WARN_ON(host->cmd || host->data);
| ^~~~~~~
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
next prev parent reply other threads:[~2025-12-09 18:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20251209064525epcas5p4904259a2a7fb971c077bfa03acce8c79@epcas5p4.samsung.com>
2025-12-09 6:49 ` [PATCH] mmc: dw_mmc: Use pre_request & post_request_end helper ping.gao
2025-12-09 7:03 ` Shawn Lin
2025-12-09 9:46 ` Christoph Hellwig
2025-12-09 18:05 ` kernel test robot [this message]
2025-12-09 18:57 ` kernel test robot
[not found] <CGME20251210022622epcas5p3faca823fc4bf50267e4b660d4776cb1d@epcas5p3.samsung.com>
2025-12-10 2:30 ` ping.gao
2025-12-10 10:45 ` Ulf Hansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202512100130.DkmKHepR-lkp@intel.com \
--to=lkp@intel.com \
--cc=jh80.chung@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ping.gao@samsung.com \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.