On Thu, Nov 15, 2012 at 11:18:20 +0100, Wolfram Sang wrote:
> On Thu, Nov 15, 2012 at 03:27:42PM +0530, Srinidhi Kasagar wrote:
> > On Thu, Nov 15, 2012 at 10:29:53 +0100, Wolfram Sang wrote:
> > >
> > > > > - if (timeout < 0) {
> > > > > - dev_err(>adev->dev,
> > > > > -
On Thu, Nov 15, 2012 at 03:27:42PM +0530, Srinidhi Kasagar wrote:
> On Thu, Nov 15, 2012 at 10:29:53 +0100, Wolfram Sang wrote:
> >
> > > > - if (timeout < 0) {
> > > > - dev_err(>adev->dev,
> > > > - "wait_for_completion_timeout "
> > > > -
On Thu, Nov 15, 2012 at 10:29:53 +0100, Wolfram Sang wrote:
>
> > > - if (timeout < 0) {
> > > - dev_err(>adev->dev,
> > > - "wait_for_completion_timeout "
> > > - "returned %d waiting for event\n", timeout);
> > > -
> > - if (timeout < 0) {
> > - dev_err(>adev->dev,
> > - "wait_for_completion_timeout "
> > - "returned %d waiting for event\n", timeout);
> > - status = timeout;
> > - }
> > -
> No, it is wrong. You need to
[...]
> From: Chuansheng Liu
> Date: Tue, Nov 6, 2012 at 6:18 PM
> Subject: [PATCH 1/7] I2c-nomadik: Fix the usage of wait_for_completion_timeout
> To: linus.wall...@linaro.org, w.s...@pengutronix.de
> Cc: linux-arm-ker...@lists.infradead.org,
> linux-kernel@vger.kernel.org,
[...]
From: Chuansheng Liu chuansheng@intel.com
Date: Tue, Nov 6, 2012 at 6:18 PM
Subject: [PATCH 1/7] I2c-nomadik: Fix the usage of wait_for_completion_timeout
To: linus.wall...@linaro.org, w.s...@pengutronix.de
Cc: linux-arm-ker...@lists.infradead.org,
linux-kernel@vger.kernel.org,
- if (timeout 0) {
- dev_err(dev-adev-dev,
- wait_for_completion_timeout
- returned %d waiting for event\n, timeout);
- status = timeout;
- }
-
No, it is wrong. You need to update the status
On Thu, Nov 15, 2012 at 10:29:53 +0100, Wolfram Sang wrote:
- if (timeout 0) {
- dev_err(dev-adev-dev,
- wait_for_completion_timeout
- returned %d waiting for event\n, timeout);
- status = timeout;
On Thu, Nov 15, 2012 at 03:27:42PM +0530, Srinidhi Kasagar wrote:
On Thu, Nov 15, 2012 at 10:29:53 +0100, Wolfram Sang wrote:
- if (timeout 0) {
- dev_err(dev-adev-dev,
- wait_for_completion_timeout
- returned %d
On Thu, Nov 15, 2012 at 11:18:20 +0100, Wolfram Sang wrote:
On Thu, Nov 15, 2012 at 03:27:42PM +0530, Srinidhi Kasagar wrote:
On Thu, Nov 15, 2012 at 10:29:53 +0100, Wolfram Sang wrote:
- if (timeout 0) {
- dev_err(dev-adev-dev,
-
10 matches
Mail list logo