Re: [PATCH RESEND V2 2/4] iio: frequency: adf4350: cast value to unsigned to make code checkers happy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/03/2013 02:30 PM, michael.hennerich@xxxxxxxxxx wrote:
> From: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
> 
> Signed-off-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
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
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux