From: Jonathan Cameron <jic23@kernel.org>
To: linux-iio@vger.kernel.org
Cc: Jonathan Cameron <jic23@kernel.org>,
Rama Krishna Phani A <rphani@codeaurora.org>
Subject: [PATCH 2/2] iio:adc:qcom-spmi-vadc silence a long constant warning.
Date: Fri, 30 Dec 2016 18:25:50 +0000 [thread overview]
Message-ID: <20161230182550.12038-2-jic23@kernel.org> (raw)
In-Reply-To: <20161230182550.12038-1-jic23@kernel.org>
It is meant to be long and is only added to an s64.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Cc: Rama Krishna Phani A <rphani@codeaurora.org>
---
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
--
2.11.0
next prev parent reply other threads:[~2016-12-30 18:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-30 18:25 [PATCH 1/2] iio:adc:qcom-spmi-vadc : fix undefined __divdi3 Jonathan Cameron
2016-12-30 18:25 ` Jonathan Cameron [this message]
2017-01-08 11:22 ` [PATCH 2/2] iio:adc:qcom-spmi-vadc silence a long constant warning Jonathan Cameron
2017-01-08 11:22 ` [PATCH 1/2] iio:adc:qcom-spmi-vadc : fix undefined __divdi3 Jonathan Cameron
2017-01-08 15:15 ` 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=20161230182550.12038-2-jic23@kernel.org \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=rphani@codeaurora.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 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).