Re: Fixing an LLVM warning in the i2o code

2013-11-04 Thread Kenneth R Westerback
On Tue, Nov 05, 2013 at 02:24:22AM +1000, David Gwynne wrote: > > On 5 Nov 2013, at 12:40 am, Kenneth R Westerback > wrote: > > > On Sun, Nov 03, 2013 at 10:51:43PM -0500, Brad Smith wrote: > >> LLVM errors out on the i2o code with the following warning.. > >> > >> ../../../../dev/i2o/iop.c:23

Re: Fixing an LLVM warning in the i2o code

2013-11-04 Thread Janne Johansson
Could be the FBI code we were looking for! 2013/11/4 David Gwynne > > On 5 Nov 2013, at 12:40 am, Kenneth R Westerback > wrote: > > > On Sun, Nov 03, 2013 at 10:51:43PM -0500, Brad Smith wrote: > >> LLVM errors out on the i2o code with the following warning.. > >> > >> ../../../../dev/i2o/iop

Re: Fixing an LLVM warning in the i2o code

2013-11-04 Thread David Gwynne
On 5 Nov 2013, at 12:40 am, Kenneth R Westerback wrote: > On Sun, Nov 03, 2013 at 10:51:43PM -0500, Brad Smith wrote: >> LLVM errors out on the i2o code with the following warning.. >> >> ../../../../dev/i2o/iop.c:2399:42: error: comparison of unsigned expression >> < 0 is always false [-Werro

Re: Fixing an LLVM warning in the i2o code

2013-11-04 Thread Kenneth R Westerback
On Sun, Nov 03, 2013 at 10:51:43PM -0500, Brad Smith wrote: > LLVM errors out on the i2o code with the following warning.. > > ../../../../dev/i2o/iop.c:2399:42: error: comparison of unsigned expression < > 0 is always false [-Werror,-Wtautological-compare] > pt->pt_nbufs < 0 || pt->p

Fixing an LLVM warning in the i2o code

2013-11-03 Thread Brad Smith
LLVM errors out on the i2o code with the following warning.. ../../../../dev/i2o/iop.c:2399:42: error: comparison of unsigned expression < 0 is always false [-Werror,-Wtautological-compare] pt->pt_nbufs < 0 || pt->pt_replylen < 0 || ~~~ ^ ~