Subject: Re: [kbuild-all] linux-next: build failure after merge of the akpm-current tree

From: Fengguang Wu <[email-masked]>
Date: Mon, 2 Nov 2015 10:43:09 +0800

On Sun, Nov 01, 2015 at 07:37:55PM +0100, Oleg Nesterov wrote:
> On 11/02, kbuild test robot wrote:
> >
> > Hi Stephen,
> >
> > [auto build test ERROR on v4.3-rc7 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
> >
> > url:    https://github.com/0day-ci/linux/commits/Stephen-Rothwell/linux-next-build-failure-after-merge-of-the-akpm-current-tree/20151102-001657
> > config: i386-randconfig-x004-11010709 (attached as .config)
> > reproduce:
> >         # save the attached .config to linux build tree
> >         make ARCH=i386
> >
> > All errors (new ones prefixed by >>):
> >
> >    drivers/block/nbd.c: In function 'nbd_thread_send':
> > >> drivers/block/nbd.c:596:3: error: implicit declaration of function 'kernel_dequeue_signal' [-Werror=implicit-function-declaration]
> >       kernel_dequeue_signal(NULL);
> >       ^
> >    cc1: some warnings being treated as errors
> >
> > vim +/kernel_dequeue_signal +596 drivers/block/nbd.c
> >
> >    590		spin_lock_irqsave(&nbd->tasks_lock, flags);
> >    591		nbd->task_send = NULL;
> >    592		spin_unlock_irqrestore(&nbd->tasks_lock, flags);
> >    593
> >    594		/* Clear maybe pending signals */
> >    595		if (signal_pending(current))
> >  > 596			kernel_dequeue_signal(NULL);
> >    597
> >    598		return 0;
> >    599	}
> 
> Yes, de90fc653be60b4cec1a4d40f0e82164ec79f077 ("linux-next: build failure
> after merge of the akpm-current tree") should be applied on top of -mm.

Yes, sorry for the noise! I'll skip testing Stephen's linux-next fixup
patches. It turns out to be time sensitive: the robot might see the
build fix patch in mailing list before see the updated linux-next git
tree, which makes git-am to linux-next failed and fallback to git-am
to RC release.

Thanks,
Fengguang