Re: [PATCH net-next 10/12] net: stmmac: replace the int_snapshot_en field with a flag

Bartosz Golaszewski
2023-06-22T13:10:58Z

On Thu, Jun 22, 2023 at 1:31 AM kernel test robot <lkp@intel.com> wrote:
>
> Hi Bartosz,
>
> kernel test robot noticed the following build errors:
>
> [auto build test ERROR on net-next/main]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Bartosz-Golaszewski/net-stmmac-replace-has_integrated_pcs-field-with-a-flag/20230622-022944
> base: net-next/main
> patch link: https://lore.kernel.org/r/20230621182558.544417-11-brgl%40bgdev.pl
> patch subject: [PATCH net-next 10/12] net: stmmac: replace the int_snapshot_en field with a flag
> config: i386-randconfig-i012-20230621 (https://download.01.org/0day-ci/archive/20230622/202306220657.ikVUl0zU-lkp@intel.com/config)
> compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
> reproduce: (https://download.01.org/0day-ci/archive/20230622/202306220657.ikVUl0zU-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202306220657.ikVUl0zU-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> >> drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c:612:2: error: use of undeclared identifier 'priv'
> priv->plat->flags &= ~STMMAC_FLAG_INT_SNAPSHOT_EN;
> ^
> 1 error generated.
>

Eek, must have disabled this driver in my config by accident. Now fixed for v2.

Bart