Re: linux-next: build failure after merge of the akpm-current tree

From: Mike Rapoport
Date: Thu Aug 27 2020 - 08:50:09 EST


On Thu, Aug 27, 2020 at 06:20:58PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the akpm-current tree, today's linux-next build (mips
> cavium_octeon_defconfig) failed like this:
>
> arch/mips/cavium-octeon/dma-octeon.c:205:7: error: ‘mem’ undeclared (first use in this function); did you mean ‘sem’?
>
> Caused by commit
>
> 52e1a745395d ("arch, drivers: replace for_each_membock() with for_each_mem_range()")
>
> Reported by "kernelci.org bot" <bot@xxxxxxxxxxxx>.

Here's the fix: