linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio: ad9523: Fix argument type mismatch
@ 2012-06-08 11:04 michael.hennerich
  0 siblings, 0 replies; 7+ messages in thread
From: michael.hennerich @ 2012-06-08 11:04 UTC (permalink / raw)
  To: jic23; +Cc: linux-iio, device-drivers-devel, dan.carpenter, Michael Hennerich

From: Michael Hennerich <michael.hennerich@analog.com>

drivers/iio/frequency/ad9523.c:378 ad9523_vco_out_map()
	 warn: value 2 can't fit into 1 'out'

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/iio/frequency/ad9523.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/iio/frequency/ad9523.c b/drivers/iio/frequency/ad9523.c
index 7272924..43f47d9 100644
--- a/drivers/iio/frequency/ad9523.c
+++ b/drivers/iio/frequency/ad9523.c
@@ -361,7 +361,7 @@ static int ad9523_io_update(struct iio_dev *indio_dev)
 }
 
 static int ad9523_vco_out_map(struct iio_dev *indio_dev,
-			      unsigned ch, bool out)
+			      unsigned ch, unsigned out)
 {
 	struct ad9523_state *st = iio_priv(indio_dev);
 	int ret;
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] iio: ad9523: Fix argument type mismatch
@ 2012-06-11  7:51 michael.hennerich
  2012-06-11  9:02 ` Shubhrajyoti Datta
  0 siblings, 1 reply; 7+ messages in thread
From: michael.hennerich @ 2012-06-11  7:51 UTC (permalink / raw)
  To: gregkh; +Cc: jic23, linux-iio, device-drivers-devel, Michael Hennerich

From: Michael Hennerich <michael.hennerich@analog.com>

drivers/iio/frequency/ad9523.c:378 ad9523_vco_out_map()
	 warn: value 2 can't fit into 1 'out'

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/iio/frequency/ad9523.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/iio/frequency/ad9523.c b/drivers/iio/frequency/ad9523.c
index 7272924..43f47d9 100644
--- a/drivers/iio/frequency/ad9523.c
+++ b/drivers/iio/frequency/ad9523.c
@@ -361,7 +361,7 @@ static int ad9523_io_update(struct iio_dev *indio_dev)
 }
 
 static int ad9523_vco_out_map(struct iio_dev *indio_dev,
-			      unsigned ch, bool out)
+			      unsigned ch, unsigned out)
 {
 	struct ad9523_state *st = iio_priv(indio_dev);
 	int ret;
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-11 12:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-08 11:04 [PATCH] iio: ad9523: Fix argument type mismatch michael.hennerich
  -- strict thread matches above, loose matches on Subject: below --
2012-06-11  7:51 michael.hennerich
2012-06-11  9:02 ` Shubhrajyoti Datta
2012-06-11  9:15   ` Michael Hennerich
2012-06-11 11:17     ` Shubhrajyoti Datta
2012-06-11 11:36       ` Lars-Peter Clausen
2012-06-11 12:29         ` Shubhrajyoti Datta

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).