[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110729130245.GM25640@n2100.arm.linux.org.uk>
Date: Fri, 29 Jul 2011 14:02:45 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: "Koul, Vinod" <vinod.koul@...el.com>
Cc: Viresh Kumar <viresh.kumar@...com>, linus.walleij@...aro.org,
pratyush.anand@...com, rajeev-dlh.kumar@...com,
bhupesh.sharma@...com, shiraz.hashim@...com,
linux-kernel@...r.kernel.org, vipin.kumar@...com,
armando.visconti@...com, amit.virdi@...com,
vipulkumar.samar@...com, viresh.linux@...il.com,
deepak.sikri@...com, dan.j.williams@...el.com,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 09/18] dmaengine/amba-pl08x: Schedule tasklet in case
of error interrupt
On Fri, Jul 29, 2011 at 05:46:39PM +0530, Koul, Vinod wrote:
> On Fri, 2011-07-29 at 16:19 +0530, Viresh Kumar wrote:
> > + /* check & clear - ERR & TC interrupts */
> > + err = readl(pl08x->base + PL080_ERR_STATUS);
> > + if (err) {
> > + dev_err(&pl08x->adev->dev, "%s error interrupt, register value"
> > + "0x%08x\n", __func__, err);
> again this looks convoluted, and the stuff is quotes can be in single
> line :)
And it shows the danger of wrapping quoted strings. This will print
the following message:
...: pl08x_irq error interrupt, register value0xNNNNNNNN
So it may want a space between 'value' and '0x%08x' - and it may want a
':' after '%s' too.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists