Re: Today's linux-next build fail on powerpc

From: Abdul Haleem
Date: Mon Jul 10 2017 - 13:52:13 EST


On Mon, 2017-07-10 at 18:17 +0300, Andy Shevchenko wrote:
> On Mon, Jul 10, 2017 at 5:37 PM, Abdul Haleem
> <abdhalee@xxxxxxxxxxxxxxxxxx> wrote:
> > On Fri, 2017-07-07 at 19:36 +0300, Andy Shevchenko wrote:
> >> On Thu, Jul 6, 2017 at 9:00 AM, Abdul Haleem
> >> <abdhalee@xxxxxxxxxxxxxxxxxx> wrote:
> >> > next-20170705 fails to build on powerpc with below errors.
> >> I had sent a fix yesterday. Had you chance to test it?
>
> > drivers/i2c/busses/i2c-designware-platdrv.c:331:6: error: implicit
> > declaration of function
> > âi2c_detect_slave_modeâ [-Werror=implicit-function-declaration]
> > if (i2c_detect_slave_mode(&pdev->dev))
> > ^
> > CC [M] fs/jffs2/scan.o
> >
> > Please point me to the correct patch you are referring to ?
>
> commit 8f1a357d41a22009150cf404b5aa5876efdb59b1
>
> i2c: Provide a stub for i2c_detect_slave_mode()
>

Thanks Andy for the fix, the patch fixes the build errors.

Machine booted with no issues.

Reported-and-tested-by: Abdul Haleem <abdhalee@xxxxxxxxxxxxxxxxxx>

--
Regard's

Abdul Haleem
IBM Linux Technology Centre