All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tony Huang 黃懷厚" <tony.huang@sunplus.com>
To: Ulf Hansson <ulf.hansson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	linux-mmc <linux-mmc@vger.kernel.org>,
	DTML <devicetree@vger.kernel.org>, Arnd Bergmann <arnd@arndb.de>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: "Wells Lu 呂芳騰" <wells.lu@sunplus.com>, "Lh Kuo 郭力豪" <lh.Kuo@sunplus.com>
Subject: RE: [PATCH v6 2/2] mmc: Add mmc driver for Sunplus SP7021
Date: Sat, 9 Apr 2022 11:11:41 +0000	[thread overview]
Message-ID: <607c96516048441db549f716656ea62f@sphcmbx02.sunplus.com.tw> (raw)
In-Reply-To: <CAHpW4oQc0=SinXTVW=ph8BgKQ4bN1mXOtWDv46MCNgXED+9TGQ@mail.gmail.com>

Dear Arnd:

> 
> Hi Tony,
> 
> I love your patch! Yet something to improve:
> 
> [auto build test ERROR on ulf-hansson-mmc-mirror/next] [cannot apply to
> robh/for-next linus/master v5.18-rc1 next-20220406] [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/intel-lab-lkp/linux/commits/Tony-Huang/Add-mmc-driver-f
> or-Sunplus-SP7021-SOC/20220406-194106
> base:   https://git.linaro.org/people/ulf.hansson/mmc-mirror.git next
> config: nds32-buildonly-randconfig-r003-20220406
> (https://download.01.org/0day-ci/archive/20220407/202204070029.JvyEor8F-l
> kp@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/intel-lab-lkp/linux/commit/325a0d9ca9d65f5616f794e0dbb
> 04256312f739d
>         git remote add linux-review https://github.com/intel-lab-lkp/linux
>         git fetch --no-tags linux-review
> Tony-Huang/Add-mmc-driver-for-Sunplus-SP7021-SOC/20220406-194106
>         git checkout 325a0d9ca9d65f5616f794e0dbb04256312f739d
>         # 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 error/warnings (new ones prefixed by >>):
> 
>    drivers/mmc/host/sunplus-mmc.c: In function 'spmmc_set_bus_timing':
> >> drivers/mmc/host/sunplus-mmc.c:311:15: warning: variable
> >> 'timing_name' set but not used [-Wunused-but-set-variable]
>      311 |         char *timing_name;
>          |               ^~~~~~~~~~~
>    drivers/mmc/host/sunplus-mmc.c: At top level:
> >> drivers/mmc/host/sunplus-mmc.c:798:13: warning: no previous prototype
> >> for 'spmmc_irq' [-Wmissing-prototypes]
>      798 | irqreturn_t spmmc_irq(int irq, void *dev_id)
>          |             ^~~~~~~~~
> >> drivers/mmc/host/sunplus-mmc.c:894:5: warning: no previous prototype
> >> for 'spmmc_get_cd' [-Wmissing-prototypes]
>      894 | int spmmc_get_cd(struct mmc_host *mmc)
>          |     ^~~~~~~~~~~~
>    drivers/mmc/host/sunplus-mmc.c: In function 'spmmc_drv_probe':
> >> drivers/mmc/host/sunplus-mmc.c:1021:22: warning: variable 'mode' set
> >> but not used [-Wunused-but-set-variable]
>     1021 |         unsigned int mode;
>          |                      ^~~~
>    drivers/mmc/host/sunplus-mmc.c: At top level:
> >> drivers/mmc/host/sunplus-mmc.c:1170:9: error: implicit declaration of
> >> function 'SYSTEM_SLEEP_PM_OPS'; did you mean
> >> 'SET_SYSTEM_SLEEP_PM_OPS'? [-Werror=implicit-function-declaration]
>     1170 |         SYSTEM_SLEEP_PM_OPS(spmmc_pm_suspend,
> spmmc_pm_resume)
>          |         ^~~~~~~~~~~~~~~~~~~
>          |         SET_SYSTEM_SLEEP_PM_OPS

I follow your sugguest in v5. 						
"It's better to use SYSTEM_SLEEP_PM_OPS/RUNTIME_PM_OPS instead of the SET_ version"						
But kernel test robot shows error.						

  parent reply	other threads:[~2022-04-09 11:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-06  8:25 [PATCH v6 0/2] Add mmc driver for Sunplus SP7021 SOC Tony Huang
2022-04-06  8:29 ` Tony Huang
2022-04-06  8:25 ` [PATCH v6 1/2] dt-binding: mmc: Add mmc yaml file for Sunplus SP7021 Tony Huang
2022-04-06  8:29   ` Tony Huang
2022-04-13 11:12   ` Krzysztof Kozlowski
2022-04-06  8:25 ` [PATCH v6 2/2] mmc: Add mmc driver " Tony Huang
2022-04-06  8:29   ` Tony Huang
2022-04-06 13:58   ` kernel test robot
2022-04-06 16:29   ` kernel test robot
2022-04-06 16:50   ` kernel test robot
     [not found]     ` <CAHpW4oQc0=SinXTVW=ph8BgKQ4bN1mXOtWDv46MCNgXED+9TGQ@mail.gmail.com>
2022-04-09 11:11       ` Tony Huang 黃懷厚 [this message]
2022-04-09 11:28         ` Krzysztof Kozlowski

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=607c96516048441db549f716656ea62f@sphcmbx02.sunplus.com.tw \
    --to=tony.huang@sunplus.com \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lh.Kuo@sunplus.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=robh+dt@kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=wells.lu@sunplus.com \
    /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.