lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 1 Oct 2022 07:23:30 +0800
From:   kernel test robot <lkp@...el.com>
To:     Daniel Machon <daniel.machon@...rochip.com>, netdev@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, davem@...emloft.net, petrm@...dia.com,
        maxime.chevallier@...tlin.com, thomas.petazzoni@...tlin.com,
        edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
        lars.povlsen@...rochip.com, Steen.Hegelund@...rochip.com,
        daniel.machon@...rochip.com, UNGLinuxDriver@...rochip.com,
        joe@...ches.com, linux@...linux.org.uk,
        horatiu.vultur@...rochip.com, Julia.Lawall@...ia.fr,
        vladimir.oltean@....com, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH net-next v2 5/6] net: microchip: sparx5: add support for
 offloading dscp table

Hi Daniel,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Daniel-Machon/Add-new-PCP-and-APPTRUST-attributes-to-dcbnl/20220930-024511
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 510bbf82f8dc36804114873d30ed1d0c8533af81
config: sh-randconfig-r024-20220926
compiler: sh4-linux-gcc (GCC) 12.1.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/443c23e1ddfd38eba2240f4de118876c58f2439e
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Daniel-Machon/Add-new-PCP-and-APPTRUST-attributes-to-dcbnl/20220930-024511
        git checkout 443c23e1ddfd38eba2240f4de118876c58f2439e
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/net/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   cc1: warning: arch/sh/include/mach-rsk: No such file or directory [-Wmissing-include-dirs]
   cc1: warning: arch/sh/include/mach-rsk: No such file or directory [-Wmissing-include-dirs]
   In file included from drivers/net/ethernet/microchip/sparx5/sparx5_main.c:29:
>> drivers/net/ethernet/microchip/sparx5/sparx5_port.h:105:38: error: field 'map' has incomplete type
     105 |         struct dcb_ieee_app_dscp_map map;
         |                                      ^~~
--
   cc1: warning: arch/sh/include/mach-rsk: No such file or directory [-Wmissing-include-dirs]
   cc1: warning: arch/sh/include/mach-rsk: No such file or directory [-Wmissing-include-dirs]
   In file included from drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c:9:
>> drivers/net/ethernet/microchip/sparx5/sparx5_port.h:105:38: error: field 'map' has incomplete type
     105 |         struct dcb_ieee_app_dscp_map map;
         |                                      ^~~
   drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c: In function 'sparx5_create_netdev':
   drivers/net/ethernet/microchip/sparx5/sparx5_netdev.c:261:13: error: 'struct net_device' has no member named 'dcbnl_ops'
     261 |         ndev->dcbnl_ops = &sparx5_dcbnl_ops;
         |             ^~


vim +/map +105 drivers/net/ethernet/microchip/sparx5/sparx5_port.h

   103	
   104	struct sparx5_port_qos_dscp {
 > 105		struct dcb_ieee_app_dscp_map map;
   106		bool qos_enable;
   107		bool dp_enable;
   108	};
   109	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (146583 bytes)

Powered by blists - more mailing lists