linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: michael.hennerich@analog.com
Cc: linux-iio@vger.kernel.org, Lars-Peter.Clausen@analog.com,
	dan.carpenter@oracle.com
Subject: Re: [PATCH RESEND V2 2/4] iio: frequency: adf4350: cast value to unsigned to make code checkers happy
Date: Tue, 04 Jun 2013 19:03:31 +0100	[thread overview]
Message-ID: <51AE2BF3.5080906@kernel.org> (raw)
In-Reply-To: <1370266249-26338-2-git-send-email-michael.hennerich@analog.com>

On 06/03/2013 02:30 PM, michael.hennerich@analog.com wrote:
> From: Michael Hennerich <michael.hennerich@analog.com>
> 
> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Applied to the togreg branch of iio.git.
> ---
>  include/linux/iio/frequency/adf4350.h |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/iio/frequency/adf4350.h b/include/linux/iio/frequency/adf4350.h
> index be91f34..ffd8c8f 100644
> --- a/include/linux/iio/frequency/adf4350.h
> +++ b/include/linux/iio/frequency/adf4350.h
> @@ -1,7 +1,7 @@
>  /*
>   * ADF4350/ADF4351 SPI PLL driver
>   *
> - * Copyright 2012 Analog Devices Inc.
> + * Copyright 2012-2013 Analog Devices Inc.
>   *
>   * Licensed under the GPL-2.
>   */
> @@ -41,7 +41,7 @@
>  #define ADF4350_REG2_RDIV2_EN			(1 << 24)
>  #define ADF4350_REG2_RMULT2_EN			(1 << 25)
>  #define ADF4350_REG2_MUXOUT(x)			((x) << 26)
> -#define ADF4350_REG2_NOISE_MODE(x)		((x) << 29)
> +#define ADF4350_REG2_NOISE_MODE(x)		(((unsigned)(x)) << 29)
>  #define ADF4350_MUXOUT_THREESTATE		0
>  #define ADF4350_MUXOUT_DVDD			1
>  #define ADF4350_MUXOUT_GND			2
> 

  reply	other threads:[~2013-06-04 18:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03 13:30 [PATCH RESEND V2 1/4] iio: frequency: ad4350: Fix bug / typo in mask michael.hennerich
2013-06-03 13:30 ` [PATCH RESEND V2 2/4] iio: frequency: adf4350: cast value to unsigned to make code checkers happy michael.hennerich
2013-06-04 18:03   ` Jonathan Cameron [this message]
2013-06-03 13:30 ` [PATCH RESEND V2 3/4] iio: frequency: adf4350: Add support for clock consumer framework michael.hennerich
2013-06-04 17:44   ` Jonathan Cameron
2013-06-05  7:32     ` Michael Hennerich
2013-06-05 14:25       ` Lars-Peter Clausen
2013-06-05 15:25         ` Jonathan Cameron
2013-06-05 17:34           ` Lars-Peter Clausen
2013-06-05 17:43             ` Jonathan Cameron
2013-06-05 18:07               ` Lars-Peter Clausen
2013-06-05 20:18                 ` Jonathan Cameron
2013-06-06 14:41                   ` Lars-Peter Clausen
2013-06-08  8:58                     ` Jonathan Cameron
2013-06-09 18:17                       ` Jonathan Cameron
2013-06-03 13:30 ` [PATCH RESEND V2 4/4] iio: frequency: adf4350: Add support for dt bindings michael.hennerich
2013-06-09 18:16   ` Jonathan Cameron
2013-06-04 13:57 ` [PATCH RESEND V2 1/4] iio: frequency: ad4350: Fix bug / typo in mask Lars-Peter Clausen
2013-06-04 17:36 ` Jonathan Cameron

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=51AE2BF3.5080906@kernel.org \
    --to=jic23@kernel.org \
    --cc=Lars-Peter.Clausen@analog.com \
    --cc=dan.carpenter@oracle.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=michael.hennerich@analog.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;
as well as URLs for NNTP newsgroup(s).