[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241001132523.GQ1310185@kernel.org>
Date: Tue, 1 Oct 2024 14:25:23 +0100
From: Simon Horman <horms@...nel.org>
To: kernel test robot <lkp@...el.com>
Cc: Rosen Penev <rosenp@...il.com>, netdev@...r.kernel.org,
oe-kbuild-all@...ts.linux.dev, andrew@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux-kernel@...r.kernel.org, jacob.e.keller@...el.com,
sd@...asysnail.net, chunkeey@...il.com
Subject: Re: [PATCH net-next 09/13] net: ibm: emac: rgmii:
devm_platform_get_resource
On Tue, Oct 01, 2024 at 04:24:39PM +0800, kernel test robot wrote:
> Hi Rosen,
>
> 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/Rosen-Penev/net-ibm-emac-remove-custom-init-exit-functions/20241001-020553
> base: net-next/main
> patch link: https://lore.kernel.org/r/20240930180036.87598-10-rosenp%40gmail.com
> patch subject: [PATCH net-next 09/13] net: ibm: emac: rgmii: devm_platform_get_resource
> config: powerpc-fsp2_defconfig (https://download.01.org/0day-ci/archive/20241001/202410011636.QtBtiUKi-lkp@intel.com/config)
> compiler: powerpc-linux-gcc (GCC) 14.1.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241001/202410011636.QtBtiUKi-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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202410011636.QtBtiUKi-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
> drivers/net/ethernet/ibm/emac/rgmii.c: In function 'rgmii_probe':
> >> drivers/net/ethernet/ibm/emac/rgmii.c:229:21: error: implicit declaration of function 'devm_platform_get_resource'; did you mean 'platform_get_resource'? [-Wimplicit-function-declaration]
> 229 | dev->base = devm_platform_get_resource(ofdev, 0);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> | platform_get_resource
Hi Rosen,
I'm curious to know where devm_platform_get_resource comes from.
In any case, it would need to be present in net-next, when patches that use
it are posted, for use of it to be accepted there.
Powered by blists - more mailing lists