Sparse is a Semantic Parser for C, it gives these warnings on
kinect_upload_fw.c:
kinect_upload_fw.c:42:14: warning: symbol 'seq' was not declared. Should it be static?
kinect_upload_fw.c:149:26: warning: Using plain integer as NULL pointer
 #include "endian.h"
 
 static libusb_device_handle *dev;
-unsigned int seq;
+static unsigned int seq;
 
 typedef struct {
        uint32_t magic;
        }
 
        libusb_init(NULL);
-       libusb_set_debug(0, 3);
+       libusb_set_debug(NULL, 3);
 
        dev = libusb_open_device_with_vid_pid(NULL, 0x045e, 0x02ad);
        if (dev == NULL) {