From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v1 3/3] mmc: mediatek: add support for SDIO eint irq
Date: Wed, 29 Dec 2021 19:12:24 +0800 [thread overview]
Message-ID: <202112291914.fj5SEFOD-lkp@intel.com> (raw)
In-Reply-To: <20211227083641.12538-4-axe.yang@mediatek.com>
[-- Attachment #1: Type: text/plain, Size: 3750 bytes --]
Hi Axe,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on robh/for-next]
[also build test ERROR on ulf-hansson-mmc-mirror/next linus/master v5.16-rc7 next-20211224]
[cannot apply to mbgg-mediatek/for-next]
[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]
url: https://github.com/0day-ci/linux/commits/Axe-Yang/mmc-mediatek-add-support-for-SDIO-async-int/20211227-163820
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: nds32-randconfig-r034-20211229 (https://download.01.org/0day-ci/archive/20211229/202112291914.fj5SEFOD-lkp(a)intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/c59ac2b1b9742009cad208fe09db8d6cdfba28da
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Axe-Yang/mmc-mediatek-add-support-for-SDIO-async-int/20211227-163820
git checkout c59ac2b1b9742009cad208fe09db8d6cdfba28da
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash drivers/mmc/host/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/mmc/host/mtk-sd.c: In function 'msdc_request_dat1_eint_irq':
>> drivers/mmc/host/mtk-sd.c:2490:16: error: implicit declaration of function 'devm_gpiod_get_index' [-Werror=implicit-function-declaration]
2490 | desc = devm_gpiod_get_index(host->dev, "eint", 0, GPIOD_IN);
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/mmc/host/mtk-sd.c:2490:59: error: 'GPIOD_IN' undeclared (first use in this function); did you mean 'GPIOF_IN'?
2490 | desc = devm_gpiod_get_index(host->dev, "eint", 0, GPIOD_IN);
| ^~~~~~~~
| GPIOF_IN
drivers/mmc/host/mtk-sd.c:2490:59: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/mmc/host/mtk-sd.c:2494:15: error: implicit declaration of function 'gpiod_to_irq'; did you mean 'gpio_to_irq'? [-Werror=implicit-function-declaration]
2494 | irq = gpiod_to_irq(desc);
| ^~~~~~~~~~~~
| gpio_to_irq
cc1: some warnings being treated as errors
vim +/devm_gpiod_get_index +2490 drivers/mmc/host/mtk-sd.c
2483
2484 static int msdc_request_dat1_eint_irq(struct msdc_host *host)
2485 {
2486 struct gpio_desc *desc;
2487 int ret = 0;
2488 int irq;
2489
> 2490 desc = devm_gpiod_get_index(host->dev, "eint", 0, GPIOD_IN);
2491 if (IS_ERR(desc))
2492 return PTR_ERR(desc);
2493
> 2494 irq = gpiod_to_irq(desc);
2495 if (irq >= 0) {
2496 irq_set_status_flags(irq, IRQ_NOAUTOEN);
2497 ret = devm_request_threaded_irq(host->dev, irq, NULL, msdc_sdio_eint_irq,
2498 IRQF_TRIGGER_LOW | IRQF_ONESHOT,
2499 "sdio-eint", host);
2500 } else {
2501 ret = irq;
2502 }
2503
2504 host->eint_irq = irq;
2505 return ret;
2506 }
2507
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next prev parent reply other threads:[~2021-12-29 11:12 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-27 8:36 [PATCH v1 0/3] mmc: mediatek: add support for SDIO async int Axe Yang
2021-12-27 8:36 ` Axe Yang
2021-12-27 8:36 ` Axe Yang
2021-12-27 8:36 ` [PATCH v1 1/3] dt-bindings: mmc: add cap-sdio-async-int flag Axe Yang
2021-12-27 8:36 ` Axe Yang
2021-12-27 8:36 ` Axe Yang
2022-01-04 22:33 ` Rob Herring
2022-01-04 22:33 ` Rob Herring
2022-01-04 22:33 ` Rob Herring
2022-01-07 8:19 ` Axe Yang
2022-01-07 8:19 ` Axe Yang
2022-01-07 8:19 ` Axe Yang
2021-12-27 8:36 ` [PATCH v1 2/3] mmc: core: Add support for SDIO async interrupt Axe Yang
2021-12-27 8:36 ` Axe Yang
2021-12-27 8:36 ` Axe Yang
2022-01-04 10:23 ` AngeloGioacchino Del Regno
2022-01-04 10:23 ` AngeloGioacchino Del Regno
2022-01-04 10:23 ` AngeloGioacchino Del Regno
2021-12-27 8:36 ` [PATCH v1 3/3] mmc: mediatek: add support for SDIO eint irq Axe Yang
2021-12-27 8:36 ` Axe Yang
2021-12-27 8:36 ` Axe Yang
2021-12-27 17:27 ` Andy Shevchenko
2021-12-27 17:27 ` Andy Shevchenko
2021-12-27 17:27 ` Andy Shevchenko
2021-12-29 9:12 ` Axe Yang
2021-12-29 9:12 ` Axe Yang
2021-12-29 9:12 ` Axe Yang
2021-12-29 11:12 ` kernel test robot [this message]
2022-01-04 10:44 ` AngeloGioacchino Del Regno
2022-01-04 10:44 ` AngeloGioacchino Del Regno
2022-01-04 10:44 ` AngeloGioacchino Del Regno
2022-01-07 7:53 ` Axe Yang
2022-01-07 7:53 ` Axe Yang
2022-01-07 7:53 ` Axe Yang
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=202112291914.fj5SEFOD-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.