CVSROOT:        /cvs
Module name:    src
Changes by:     b...@cvs.openbsd.org    2013/07/04 20:37:30

Modified files:
        sys/dev/pci/bktr: bktr_core.c 

Log message:
Use tmp_int to be able to pass back the -1 upon error and check for it properly
but the value passed forward throughout the ioctl handler otherwise is an
unsigned value.

Pointed out by LLVM.

bktr_core.c:1737:13: error: comparison of unsigned expression < 0 is always 
false
bktr_core.c:1779:13: error: comparison of unsigned expression < 0 is always 
false
bktr_core.c:2063:16: error: comparison of unsigned expression < 0 is always 
false

ok krw@

Reply via email to