All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Masanari Iida <standby24x7@gmail.com>,
	devel@driverdev.osuosl.org, gregkh@linuxfoundation.org,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH] staging: iio: Fix format string mismatch in ad7280a.c
Date: Wed, 30 Apr 2014 21:57:05 +0100	[thread overview]
Message-ID: <536163A1.9010708@kernel.org> (raw)
In-Reply-To: <1398700802-31361-1-git-send-email-standby24x7@gmail.com>

On 28/04/14 17:00, Masanari Iida wrote:
> Fix two format string mismatch in ad7280a.c
>
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Applied to the togreg branch of iio.git
Note this will initially get pushed out as testing for
the autobuilders to play.

Thanks,

Jonathan
> ---
>   drivers/staging/iio/adc/ad7280a.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c
> index 1ac11f6..d215edf 100644
> --- a/drivers/staging/iio/adc/ad7280a.c
> +++ b/drivers/staging/iio/adc/ad7280a.c
> @@ -443,7 +443,7 @@ static ssize_t ad7280_show_balance_timer(struct device *dev,
>
>   	msecs = (ret >> 3) * 71500;
>
> -	return sprintf(buf, "%d\n", msecs);
> +	return sprintf(buf, "%u\n", msecs);
>   }
>
>   static ssize_t ad7280_store_balance_timer(struct device *dev,
> @@ -619,7 +619,7 @@ static ssize_t ad7280_read_channel_config(struct device *dev,
>   		return -EINVAL;
>   	}
>
> -	return sprintf(buf, "%d\n", val);
> +	return sprintf(buf, "%u\n", val);
>   }
>
>   static ssize_t ad7280_write_channel_config(struct device *dev,
>


      reply	other threads:[~2014-04-30 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 16:00 [PATCH] staging: iio: Fix format string mismatch in ad7280a.c Masanari Iida
2014-04-30 20:57 ` 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=536163A1.9010708@kernel.org \
    --to=jic23@kernel.org \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=standby24x7@gmail.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 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.