From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] [RFC] net: phy: smsc: Add magnetics VIO regulator support
Date: Wed, 06 Jan 2021 03:40:27 +0800 [thread overview]
Message-ID: <202101060308.YiLM2DuI-lkp@intel.com> (raw)
In-Reply-To: <20210105161533.250865-1-marex@denx.de>
[-- Attachment #1: Type: text/plain, Size: 2586 bytes --]
Hi Marek,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net/master]
[also build test WARNING on net-next/master ipvs/master linus/master v5.11-rc2 next-20210104]
[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/Marek-Vasut/net-phy-smsc-Add-magnetics-VIO-regulator-support/20210106-001946
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git 4bfc4714849d005e6835bcffa3c29ebd6e5ee35d
config: x86_64-randconfig-a006-20210105 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 5c951623bc8965fa1e89660f2f5f4a2944e4981a)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/014a5aebb8dfa7edde7e312123a45d99372988b7
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Marek-Vasut/net-phy-smsc-Add-magnetics-VIO-regulator-support/20210106-001946
git checkout 014a5aebb8dfa7edde7e312123a45d99372988b7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/net/phy/smsc.c:306:3: warning: ignoring return value of function declared with 'warn_unused_result' attribute [-Wunused-result]
regulator_enable(priv->vddio);
^~~~~~~~~~~~~~~~ ~~~~~~~~~~~
1 warning generated.
vim +/warn_unused_result +306 drivers/net/phy/smsc.c
294
295 static void smsc_link_change_notify(struct phy_device *phydev)
296 {
297 struct smsc_phy_priv *priv = phydev->priv;
298
299 if (!priv->vddio)
300 return;
301
302 if (phydev->state == PHY_HALTED)
303 regulator_disable(priv->vddio);
304
305 if (phydev->state == PHY_NOLINK)
> 306 regulator_enable(priv->vddio);
307 }
308
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 44967 bytes --]
prev parent reply other threads:[~2021-01-05 19:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 16:15 [PATCH] [RFC] net: phy: smsc: Add magnetics VIO regulator support Marek Vasut
2021-01-05 17:38 ` Andrew Lunn
2021-01-05 17:53 ` Marek Vasut
2021-01-05 19:03 ` Andrew Lunn
2021-01-05 21:38 ` Marek Vasut
2021-01-05 19:40 ` kernel test robot [this message]
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=202101060308.YiLM2DuI-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.