| Verdict | Location | Message |
| - | hidapi/hidapi.h:65:59 | macro argument should be enclosed in parentheses |
| - | hidtest/test.c:165:6 | use of a signed integer operand with a binary bitwise operator |
| - | hidtest/test.c:165:25 | use of a signed integer operand with a binary bitwise operator |
| - | linux/hid.c:200:91 | 2 adjacent parameters of 'get_hid_item_size' of similar type ('int *') are easily swapped by mistake |
| - | linux/hid.c:211:7 | use of a signed integer operand with a binary bitwise operator |
| - | linux/hid.c:229:14 | use of a signed integer operand with a binary bitwise operator |
| - | linux/hid.c:263:3 | repeated branch body in conditional chain |
| - | linux/hid.c:294:17 | use of a signed integer operand with a binary bitwise operator |
| - | linux/hid.c:300:3 | potential uncovered code path; add a default label |
| - | linux/hid.c:300:3 | switching on non-enum value without default case may not cover all cases |
| - | linux/hid.c:350:106 | 2 adjacent parameters of 'get_next_hid_usage' of similar type ('unsigned short *') are easily swapped by mistake |
| - | linux/hid.c:359:17 | use of a signed integer operand with a binary bitwise operator |
| - | linux/hid.c:365:3 | potential uncovered code path; add a default label |
| - | linux/hid.c:365:3 | switching on non-enum value without default case may not cover all cases |
| - | linux/hid.c:492:14 | 'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead |
| - | linux/hid.c:574:2 | 2 adjacent parameters of 'parse_uevent_info' of similar type ('char **') are easily swapped by mistake |
| - | linux/hid.c:613:14 | 'sscanf' used to convert a string to an unsigned integer value, but function will not report conversion errors; consider using 'strtoul' instead |
| - | linux/hid.c:754:40 | narrowing conversion from 'long' to signed type 'int' is implementation-defined |
| - | linux/hid.c:1114:18 | narrowing conversion from 'ssize_t' (aka 'long') to signed type 'int' is implementation-defined |
| - | linux/hid.c:1122:75 | 2 adjacent parameters of 'hid_read_timeout' of convertible types are easily swapped by mistake |
| - | linux/hid.c:1161:8 | use of a signed integer operand with a binary bitwise operator |
| - | linux/hid.c:1170:15 | narrowing conversion from 'ssize_t' (aka 'long') to signed type 'int' is implementation-defined |