Hi Ritesh, On Wed, 2016-09-14 at 21:30 +0530, Ritesh Raj Sarraf wrote: > Hello Bastien, > > On Wed, 2016-09-14 at 17:44 +0200, Bastien Nocera wrote: > > > > > > My guess: > > -       return (int) (info_1->index - info_2->index); > > +       return ((int) info_1->index - (int) info_2->index); > > Can you try attached patch for both 4.7 and 4.8 kernel? Thanks, Srinivas > > Ritesh, could you try to change those lines in > > compare_channel_index() > > in src/iio-buffer-utils.c and capture another log if it fails? > > That did not seem to change anything. I've put up the log at: > https://people.debian.org/~rrs/tmp/iio-int.txt > >