* [frank-w-bpi-r2-4.14:5.4-mmctest 45/223] drivers/net/dsa/mt7530.c:2151:6: warning: no previous prototype for 'mt7531_sgmii_restart_an'
@ 2021-05-20 4:50 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-20 4:50 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1663 bytes --]
tree: https://github.com/frank-w/BPI-R2-4.14 5.4-mmctest
head: 3a68e55aefe320dbd684083c35aa1ff263b0f1fd
commit: a5f7cc192993935d0bc3edcca566684364e66785 [45/223] net: dsa: mt7530: Add the support of MT7531 switch
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/frank-w/BPI-R2-4.14/commit/a5f7cc192993935d0bc3edcca566684364e66785
git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.4-mmctest
git checkout a5f7cc192993935d0bc3edcca566684364e66785
# save the attached .config to linux build tree
make W=1 ARCH=i386
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/dsa/mt7530.c:2151:6: warning: no previous prototype for 'mt7531_sgmii_restart_an' [-Wmissing-prototypes]
2151 | void mt7531_sgmii_restart_an(struct dsa_switch *ds, int port)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/mt7531_sgmii_restart_an +2151 drivers/net/dsa/mt7530.c
2150
> 2151 void mt7531_sgmii_restart_an(struct dsa_switch *ds, int port)
2152 {
2153 struct mt7530_priv *priv = ds->priv;
2154 u32 val;
2155
2156 val = mt7530_read(priv, MT7531_PCS_CONTROL_1(port));
2157 val |= MT7531_SGMII_AN_RESTART;
2158 mt7530_write(priv, MT7531_PCS_CONTROL_1(port), val);
2159 }
2160
---
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: 60348 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-20 4:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 4:50 [frank-w-bpi-r2-4.14:5.4-mmctest 45/223] drivers/net/dsa/mt7530.c:2151:6: warning: no previous prototype for 'mt7531_sgmii_restart_an' kernel test robot
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.