tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes head: 3c15bb8df3365826d67efc332ee490dacc8e901c commit: 18596f504a3e56c4f8e132b2a437cbe23a3f4635 [1998/2286] net: dsa: add support for offloading HSR config: x86_64-randconfig-r023-20210219 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=18596f504a3e56c4f8e132b2a437cbe23a3f4635 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next pending-fixes git checkout 18596f504a3e56c4f8e132b2a437cbe23a3f4635 # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): ld: warning: orphan section `.data..decrypted' from `arch/x86/kernel/cpu/vmware.o' being placed in section `.data..decrypted' ld: warning: orphan section `.data..decrypted' from `arch/x86/kernel/kvm.o' being placed in section `.data..decrypted' ld: net/dsa/slave.o: in function `dsa_slave_changeupper': >> net/dsa/slave.c:1942: undefined reference to `is_hsr_master' vim +1942 net/dsa/slave.c 1911 1912 static int dsa_slave_changeupper(struct net_device *dev, 1913 struct netdev_notifier_changeupper_info *info) 1914 { 1915 struct dsa_port *dp = dsa_slave_to_port(dev); 1916 int err = NOTIFY_DONE; 1917 1918 if (netif_is_bridge_master(info->upper_dev)) { 1919 if (info->linking) { 1920 err = dsa_port_bridge_join(dp, info->upper_dev); 1921 if (!err) 1922 dsa_bridge_mtu_normalization(dp); 1923 err = notifier_from_errno(err); 1924 } else { 1925 dsa_port_bridge_leave(dp, info->upper_dev); 1926 err = NOTIFY_OK; 1927 } 1928 } else if (netif_is_lag_master(info->upper_dev)) { 1929 if (info->linking) { 1930 err = dsa_port_lag_join(dp, info->upper_dev, 1931 info->upper_info); 1932 if (err == -EOPNOTSUPP) { 1933 NL_SET_ERR_MSG_MOD(info->info.extack, 1934 "Offloading not supported"); 1935 err = 0; 1936 } 1937 err = notifier_from_errno(err); 1938 } else { 1939 dsa_port_lag_leave(dp, info->upper_dev); 1940 err = NOTIFY_OK; 1941 } > 1942 } else if (is_hsr_master(info->upper_dev)) { 1943 if (info->linking) { 1944 err = dsa_port_hsr_join(dp, info->upper_dev); 1945 if (err == -EOPNOTSUPP) { 1946 NL_SET_ERR_MSG_MOD(info->info.extack, 1947 "Offloading not supported"); 1948 err = 0; 1949 } 1950 err = notifier_from_errno(err); 1951 } else { 1952 dsa_port_hsr_leave(dp, info->upper_dev); 1953 err = NOTIFY_OK; 1954 } 1955 } 1956 1957 return err; 1958 } 1959 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip