From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
Tejun Heo <tj@kernel.org>,
linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
Vinod Koul <vinod.koul@intel.com>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
Dan Williams <dan.j.williams@intel.com>
Subject: Re: linux-next: build failure after merge of the pm tree (and warning)
Date: Tue, 15 Nov 2011 21:52:40 +0100 [thread overview]
Message-ID: <201111152152.40971.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.64.1111150032170.32143@axis700.grange>
On Tuesday, November 15, 2011, Guennadi Liakhovetski wrote:
> Hi Rafael
>
> On Tue, 15 Nov 2011, Rafael J. Wysocki wrote:
>
> > On Monday, November 14, 2011, Stephen Rothwell wrote:
> > > Hi Rafael,
> > >
> > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig)
> > > failed like this:
> > >
> > > drivers/dma/dmatest.c: In function 'dmatest_func':
> > > drivers/dma/dmatest.c:255:2: error: implicit declaration of function 'set_freezable_with_signal' [-Werror=implicit-function-declaration]
> > >
> > > Caused by commit cd3bc8fbc2d5 ("freezer: kill unused
> > > set_freezable_with_signal()") interacting with commit 981ed70d8e4f
> > > ("dmatest: make dmatest threads freezable") from Linus' tree (merged into
> > > v3.2-rc1).
> > >
> > > I reverted the pm tree commit for today.
> >
> > Thanks, I've added the following patch to linux-pm/linux-next, which should
> > fix this problem (Tejun, if that's not the right thing to do, please let me
> > know).
> >
> > Rafael
> >
> >
> > ---
> > From: Rafael J. Wysocki <rjw@sisk.pl>
> > Subject: Freezer: Make dmatest_func() use set_freezable()
> >
> > According to the commit cd3bc8fbc2d55ae0918184fb34992054dc4eb710
> > (freezer: kill unused set_freezable_with_signal()) changelog,
> > it should be sufficient to use set_freezable() instead of
> > set_freezable_with_signal(), which has been removed, in
> > dmatest_func(), so do that and fix a build issue.
> >
> > Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
> > ---
> > drivers/dma/dmatest.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > Index: linux/drivers/dma/dmatest.c
> > ===================================================================
> > --- linux.orig/drivers/dma/dmatest.c
> > +++ linux/drivers/dma/dmatest.c
> > @@ -252,7 +252,7 @@ static int dmatest_func(void *data)
> > int i;
> >
> > thread_name = current->comm;
> > - set_freezable_with_signal();
> > + set_freezable();
>
> No, this isn't a correct fix.
OK, I'll drop it, then.
Thanks,
Rafael
prev parent reply other threads:[~2011-11-15 20:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-14 2:17 linux-next: build failure after merge of the pm tree (and warning) Stephen Rothwell
2011-11-14 23:14 ` Rafael J. Wysocki
2011-11-14 23:17 ` Tejun Heo
2011-11-14 23:24 ` Rafael J. Wysocki
2011-11-14 23:33 ` Guennadi Liakhovetski
2011-11-14 23:39 ` Tejun Heo
2011-11-15 2:52 ` Williams, Dan J
2011-11-15 20:52 ` Rafael J. Wysocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201111152152.40971.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=dan.j.williams@intel.com \
--cc=g.liakhovetski@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=sfr@canb.auug.org.au \
--cc=tj@kernel.org \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox