Messages in this thread | | | Subject | Re: [PATCH 5.4 031/122] net: moxa: Use devm_platform_get_and_ioremap_resource() | From | Yang Yingliang <> | Date | Fri, 16 Jul 2021 09:37:10 +0800 |
| |
Hi,
On 2021/7/16 5:26, Sudip Mukherjee wrote: > Hi Greg, > > On Thu, Jul 15, 2021 at 7:44 PM Greg Kroah-Hartman > <gregkh@linuxfoundation.org> wrote: >> From: Yang Yingliang <yangyingliang@huawei.com> >> >> [ Upstream commit 35cba15a504bf4f585bb9d78f47b22b28a1a06b2 ] > arm moxart_defconfig build fails with the error: > drivers/net/ethernet/moxa/moxart_ether.c:483:22: error: implicit > declaration of function 'devm_platform_get_and_ioremap_resource'; did > you mean 'devm_platform_ioremap_resource'? > [-Werror=implicit-function-declaration]
devm_platform_get_and_ioremap_resource() is introduced in v5.7-rc1, I can send a patch for stable-5.4.
Thanks, Yang
> > Reverting this patch fixes the build. > >
| |