Skip to content

Commit 183f417

Browse files
pmeerwjic23
authored andcommitted
iio: Pass scan mask as unsigned long
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent 4caf279 commit 183f417

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/iio/industrialio-buffer.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ static const unsigned long *iio_scan_mask_match(const unsigned long *av_masks,
429429
return NULL;
430430
}
431431

432-
static int iio_compute_scan_bytes(struct iio_dev *indio_dev, const long *mask,
433-
bool timestamp)
432+
static int iio_compute_scan_bytes(struct iio_dev *indio_dev,
433+
const unsigned long *mask, bool timestamp)
434434
{
435435
const struct iio_chan_spec *ch;
436436
unsigned bytes = 0;

0 commit comments

Comments
 (0)