Re: [PATCH] io: adc: ad7606_core: fix signed/unsigned number comparison

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* On 2016-10-01 18:09:44 +0200, Jonathan Cameron wrote:
 
> On 28/09/16 14:41, Ico Doornekamp wrote:
> > reported by 'make W=2' in ad7606_oversampling_get_index()
> > 
> > Signed-off-by: Ico Doornekamp <ico@xxxxxxxx>
> hmm. It's pretty much a non problem in the first place as we know
> it can't cause issues (can see it is 7).   Also this really just
> moves to typecasting it later when we return i.
> 
> So unless I'm missing something I'm not going to apply this one.

Fair enough. It's one of those little penguin task things again, you
probably guessed already. 'Find a bug reported by sparse and fix it'.
But your IIO tree is simply too high-quality, sparse has nothing to
complain :)

-- 
:wq
^X^Cy^K^X^C^C^C^C
--
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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux