All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "fugang.duan@freescale.com" <fugang.duan@freescale.com>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Subject: Re: [PATCH] iio:adc:vf610 ensure correct handing of interruption of wait for completion
Date: Sun, 02 Mar 2014 21:47:05 +0000	[thread overview]
Message-ID: <5313A6D9.5030300@kernel.org> (raw)
In-Reply-To: <14cec064ee944b29baf52f88cca1cf15@BLUPR03MB373.namprd03.prod.outlook.com>

On 02/03/14 01:36, fugang.duan@freescale.com wrote:
> From: Jonathan Cameron <jic23@kernel.org>
> Data: Sunday, March 02, 2014 6:03 AM
>
>> To: linux-iio@vger.kernel.org
>> Cc: Jonathan Cameron; Dan Carpenter; Duan Fugang-B38611
>> Subject: [PATCH] iio:adc:vf610 ensure correct handing of interruption of wait
>> for completion
>>
>> Issue highlighted by smatch warning:
>>
>> CHECK   drivers/iio/adc/vf610_adc.c
>> drivers/iio/adc/vf610_adc.c:466 vf610_read_raw() warn: unsigned 'ret' is never
>> less than zero.
>>
>> As wait_for_completion_interruptible_timeout can return -ERESTARTSTSYS, if
>> interrupted, ret must be signed.
>>
>> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
>
> Acked-by: Fugang Duan <B38611@freescale.com>
Applied to the togreg branch of iio.git.


      reply	other threads:[~2014-03-02 21:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-01 22:02 [PATCH] iio:adc:vf610 ensure correct handing of interruption of wait for completion Jonathan Cameron
2014-03-02  1:36 ` fugang.duan
2014-03-02 21:47   ` Jonathan Cameron [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=5313A6D9.5030300@kernel.org \
    --to=jic23@kernel.org \
    --cc=dan.carpenter@oracle.com \
    --cc=fugang.duan@freescale.com \
    --cc=linux-iio@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.