* [arm:zii 109/125] drivers/net/phy/phylink.c:1913:2: error: too many arguments to function 'sfp_parse_support'
@ 2020-03-03 15:39 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-03-03 15:39 UTC (permalink / raw)
To: Russell King; +Cc: kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 2206 bytes --]
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head: bca3ce80a604693842453e39f7cc4446c3603ed6
commit: a4eebbf05a74c7747ee75eacca04c0886ba2cc74 [109/125] net: sfp: add interface bitmap
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a4eebbf05a74c7747ee75eacca04c0886ba2cc74
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net/phy/phylink.c: In function 'phylink_sfp_module_insert':
>> drivers/net/phy/phylink.c:1913:2: error: too many arguments to function 'sfp_parse_support'
sfp_parse_support(pl->sfp_bus, id, support, sfp_interfaces);
^~~~~~~~~~~~~~~~~
In file included from drivers/net/phy/sfp.h:5:0,
from drivers/net/phy/phylink.c:22:
include/linux/sfp.h:566:20: note: declared here
static inline void sfp_parse_support(struct sfp_bus *bus,
^~~~~~~~~~~~~~~~~
vim +/sfp_parse_support +1913 drivers/net/phy/phylink.c
1902
1903 static int phylink_sfp_module_insert(void *upstream,
1904 const struct sfp_eeprom_id *id)
1905 {
1906 struct phylink *pl = upstream;
1907 unsigned long *support = pl->sfp_support;
1908 DECLARE_PHY_INTERFACE_MASK(sfp_interfaces);
1909
1910 ASSERT_RTNL();
1911
1912 linkmode_zero(support);
> 1913 sfp_parse_support(pl->sfp_bus, id, support, sfp_interfaces);
1914 pl->sfp_port = sfp_parse_port(pl->sfp_bus, id, support);
1915
1916 /* If this module may have a PHY connecting later, defer until later */
1917 pl->sfp_may_have_phy = sfp_may_have_phy(pl->sfp_bus, id);
1918 if (pl->sfp_may_have_phy)
1919 return 0;
1920
1921 return phylink_sfp_config(pl, MLO_AN_INBAND, support, support);
1922 }
1923
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26442 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
* [arm:zii 109/125] drivers/net/phy/phylink.c:1913:2: error: too many arguments to function 'sfp_parse_support'
@ 2020-03-03 15:39 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-03-03 15:39 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2263 bytes --]
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git zii
head: bca3ce80a604693842453e39f7cc4446c3603ed6
commit: a4eebbf05a74c7747ee75eacca04c0886ba2cc74 [109/125] net: sfp: add interface bitmap
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a4eebbf05a74c7747ee75eacca04c0886ba2cc74
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net/phy/phylink.c: In function 'phylink_sfp_module_insert':
>> drivers/net/phy/phylink.c:1913:2: error: too many arguments to function 'sfp_parse_support'
sfp_parse_support(pl->sfp_bus, id, support, sfp_interfaces);
^~~~~~~~~~~~~~~~~
In file included from drivers/net/phy/sfp.h:5:0,
from drivers/net/phy/phylink.c:22:
include/linux/sfp.h:566:20: note: declared here
static inline void sfp_parse_support(struct sfp_bus *bus,
^~~~~~~~~~~~~~~~~
vim +/sfp_parse_support +1913 drivers/net/phy/phylink.c
1902
1903 static int phylink_sfp_module_insert(void *upstream,
1904 const struct sfp_eeprom_id *id)
1905 {
1906 struct phylink *pl = upstream;
1907 unsigned long *support = pl->sfp_support;
1908 DECLARE_PHY_INTERFACE_MASK(sfp_interfaces);
1909
1910 ASSERT_RTNL();
1911
1912 linkmode_zero(support);
> 1913 sfp_parse_support(pl->sfp_bus, id, support, sfp_interfaces);
1914 pl->sfp_port = sfp_parse_port(pl->sfp_bus, id, support);
1915
1916 /* If this module may have a PHY connecting later, defer until later */
1917 pl->sfp_may_have_phy = sfp_may_have_phy(pl->sfp_bus, id);
1918 if (pl->sfp_may_have_phy)
1919 return 0;
1920
1921 return phylink_sfp_config(pl, MLO_AN_INBAND, support, support);
1922 }
1923
---
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: 26442 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-03 15:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 15:39 [arm:zii 109/125] drivers/net/phy/phylink.c:1913:2: error: too many arguments to function 'sfp_parse_support' kbuild test robot
2020-03-03 15:39 ` kbuild 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.