From: kernel test robot <lkp@intel.com>
To: Shawn Lin <shawn.lin@rock-chips.com>,
Ulf Hansson <ulf.hansson@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-mmc@vger.kernel.org,
Jaehoon Chung <jh80.chung@samsung.com>,
Shawn Lin <shawn.lin@rock-chips.com>
Subject: Re: [PATCH 13/13] mmc: dw_mmc: Remove struct dw_mci_slot
Date: Sun, 23 Nov 2025 02:40:36 +0800 [thread overview]
Message-ID: <202511230231.JzqFjaBp-lkp@intel.com> (raw)
In-Reply-To: <1763634565-183891-14-git-send-email-shawn.lin@rock-chips.com>
Hi Shawn,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20251120]
[cannot apply to krzk/for-next rockchip/for-next linus/master ulf-hansson-mmc-mirror/next v6.18-rc6 v6.18-rc5 v6.18-rc4 v6.18-rc6]
[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/Shawn-Lin/mmc-dw_mmc-Remove-unused-struct-dma_pdata/20251120-205522
base: next-20251120
patch link: https://lore.kernel.org/r/1763634565-183891-14-git-send-email-shawn.lin%40rock-chips.com
patch subject: [PATCH 13/13] mmc: dw_mmc: Remove struct dw_mci_slot
config: arc-randconfig-002-20251123 (https://download.01.org/0day-ci/archive/20251123/202511230231.JzqFjaBp-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251123/202511230231.JzqFjaBp-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/202511230231.JzqFjaBp-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/debugfs.h:16,
from drivers/mmc/host/dw_mmc.c:12:
>> drivers/mmc/host/dw_mmc.c:140:23: warning: 'dw_mci_req_fops' defined but not used [-Wunused-const-variable=]
140 | DEFINE_SHOW_ATTRIBUTE(dw_mci_req);
| ^~~~~~~~~~
include/linux/seq_file.h:213:37: note: in definition of macro 'DEFINE_SHOW_ATTRIBUTE'
213 | static const struct file_operations __name ## _fops = { \
| ^~~~~~
vim +/dw_mci_req_fops +140 drivers/mmc/host/dw_mmc.c
f95f3850f7a9e1 Will Newton 2011-01-02 99
f95f3850f7a9e1 Will Newton 2011-01-02 100 #if defined(CONFIG_DEBUG_FS)
f95f3850f7a9e1 Will Newton 2011-01-02 101 static int dw_mci_req_show(struct seq_file *s, void *v)
f95f3850f7a9e1 Will Newton 2011-01-02 102 {
93ac9a7f4a2ac9 Shawn Lin 2025-11-20 103 struct dw_mci *host = s->private;
f95f3850f7a9e1 Will Newton 2011-01-02 104 struct mmc_request *mrq;
f95f3850f7a9e1 Will Newton 2011-01-02 105 struct mmc_command *cmd;
f95f3850f7a9e1 Will Newton 2011-01-02 106 struct mmc_command *stop;
f95f3850f7a9e1 Will Newton 2011-01-02 107 struct mmc_data *data;
f95f3850f7a9e1 Will Newton 2011-01-02 108
f95f3850f7a9e1 Will Newton 2011-01-02 109 /* Make sure we get a consistent snapshot */
93ac9a7f4a2ac9 Shawn Lin 2025-11-20 110 spin_lock_bh(&host->lock);
93ac9a7f4a2ac9 Shawn Lin 2025-11-20 111 mrq = host->mrq;
f95f3850f7a9e1 Will Newton 2011-01-02 112
f95f3850f7a9e1 Will Newton 2011-01-02 113 if (mrq) {
f95f3850f7a9e1 Will Newton 2011-01-02 114 cmd = mrq->cmd;
f95f3850f7a9e1 Will Newton 2011-01-02 115 data = mrq->data;
f95f3850f7a9e1 Will Newton 2011-01-02 116 stop = mrq->stop;
f95f3850f7a9e1 Will Newton 2011-01-02 117
f95f3850f7a9e1 Will Newton 2011-01-02 118 if (cmd)
f95f3850f7a9e1 Will Newton 2011-01-02 119 seq_printf(s,
f95f3850f7a9e1 Will Newton 2011-01-02 120 "CMD%u(0x%x) flg %x rsp %x %x %x %x err %d\n",
f95f3850f7a9e1 Will Newton 2011-01-02 121 cmd->opcode, cmd->arg, cmd->flags,
f95f3850f7a9e1 Will Newton 2011-01-02 122 cmd->resp[0], cmd->resp[1], cmd->resp[2],
f95f3850f7a9e1 Will Newton 2011-01-02 123 cmd->resp[2], cmd->error);
f95f3850f7a9e1 Will Newton 2011-01-02 124 if (data)
f95f3850f7a9e1 Will Newton 2011-01-02 125 seq_printf(s, "DATA %u / %u * %u flg %x err %d\n",
f95f3850f7a9e1 Will Newton 2011-01-02 126 data->bytes_xfered, data->blocks,
f95f3850f7a9e1 Will Newton 2011-01-02 127 data->blksz, data->flags, data->error);
f95f3850f7a9e1 Will Newton 2011-01-02 128 if (stop)
f95f3850f7a9e1 Will Newton 2011-01-02 129 seq_printf(s,
f95f3850f7a9e1 Will Newton 2011-01-02 130 "CMD%u(0x%x) flg %x rsp %x %x %x %x err %d\n",
f95f3850f7a9e1 Will Newton 2011-01-02 131 stop->opcode, stop->arg, stop->flags,
f95f3850f7a9e1 Will Newton 2011-01-02 132 stop->resp[0], stop->resp[1], stop->resp[2],
f95f3850f7a9e1 Will Newton 2011-01-02 133 stop->resp[2], stop->error);
f95f3850f7a9e1 Will Newton 2011-01-02 134 }
f95f3850f7a9e1 Will Newton 2011-01-02 135
93ac9a7f4a2ac9 Shawn Lin 2025-11-20 136 spin_unlock_bh(&host->lock);
f95f3850f7a9e1 Will Newton 2011-01-02 137
f95f3850f7a9e1 Will Newton 2011-01-02 138 return 0;
f95f3850f7a9e1 Will Newton 2011-01-02 139 }
64c1412b77d08d Shawn Lin 2018-02-23 @140 DEFINE_SHOW_ATTRIBUTE(dw_mci_req);
f95f3850f7a9e1 Will Newton 2011-01-02 141
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-22 18:41 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-20 10:29 [PATCH 0/13] dw_mmc cleanup Shawn Lin
2025-11-20 10:29 ` [PATCH 01/13] mmc: dw_mmc: Remove unused struct dma_pdata Shawn Lin
2025-11-20 10:29 ` [PATCH 02/13] mmc: dw_mmc: add dw_mci_prepare_desc() for both of 32bit and 64bit DMA Shawn Lin
2025-11-20 10:29 ` [PATCH 03/13] mmc: dw_mmc: Remove vqmmc_enabled from struct dw_mci Shawn Lin
2025-11-25 12:23 ` Ulf Hansson
2025-11-20 10:29 ` [PATCH 04/13] mmc: dw_mmc: Remove unused header files and keep alphabetical order Shawn Lin
2025-11-20 10:29 ` [PATCH 05/13] mmc: dw_mmc: Move struct mmc_host from struct dw_mci_slot to struct dw_mci Shawn Lin
2025-11-20 10:29 ` [PATCH 06/13] mmc: dw_mmc: Let glue drivers to use struct dw_mci as possible Shawn Lin
2025-11-20 10:29 ` [PATCH 07/13] mmc: dw_mmc: Move flags from struct dw_mci_slot to struct dw_mci Shawn Lin
2025-11-20 10:29 ` [PATCH 08/13] mmc: dw_mmc: Remove id from dw_mci_slot Shawn Lin
2025-11-20 10:29 ` [PATCH 09/13] mmc: dw_mmc: Remove sdio_id from struct dw_mci_slot Shawn Lin
2025-11-20 10:29 ` [PATCH 10/13] mmc: dw_mmc: Move clock rate stuff from struct dw_mci_slot to struct dw_mci Shawn Lin
2025-11-20 10:29 ` [PATCH 11/13] mmc: dw_mmc: Remove mrq from struct dw_mci_slot Shawn Lin
2025-11-20 10:29 ` [PATCH 12/13] mmc: dw_mmc: Remove queue from dw_mci Shawn Lin
2025-11-20 10:29 ` [PATCH 13/13] mmc: dw_mmc: Remove struct dw_mci_slot Shawn Lin
2025-11-22 18:40 ` kernel test robot [this message]
2025-11-22 19:54 ` kernel test robot
2025-11-20 11:10 ` [PATCH 0/13] dw_mmc cleanup Ulf Hansson
2025-11-20 12:51 ` Shawn Lin
2025-11-25 12:33 ` Ulf Hansson
2025-11-25 14:00 ` Shawn Lin
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=202511230231.JzqFjaBp-lkp@intel.com \
--to=lkp@intel.com \
--cc=jh80.chung@samsung.com \
--cc=linux-mmc@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=shawn.lin@rock-chips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox