On 30/12/16 18:25, Jonathan Cameron wrote: > It is meant to be long and is only added to an s64. > > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx> > Cc: Rama Krishna Phani A <rphani@xxxxxxxxxxxxxx> Applied to the togreg branch of iio.git and pushed out as testing. Thanks Jonathan > --- > drivers/iio/adc/qcom-spmi-vadc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/qcom-spmi-vadc.c b/drivers/iio/adc/qcom-spmi-vadc.c > index 9da3a8fb7514..244dbbd0d5e0 100644 > --- a/drivers/iio/adc/qcom-spmi-vadc.c > +++ b/drivers/iio/adc/qcom-spmi-vadc.c > @@ -101,7 +101,7 @@ > #define KELVINMIL_CELSIUSMIL 273150 > > #define PMI_CHG_SCALE_1 -138890 > -#define PMI_CHG_SCALE_2 391750000000 > +#define PMI_CHG_SCALE_2 391750000000LL > > #define VADC_CHAN_MIN VADC_USBIN > #define VADC_CHAN_MAX VADC_LR_MUX3_BUF_PU1_PU2_XO_THERM > -- 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