Created attachment 15162 [details] [review] 0001-Compile-warning-fixes.patch Cast pciaddr_t to unsigned long "printf" argument. Include <unistd.h> for open, read, close, lseek and usleep prototypes.
Again, probably only a problem if using strict c99, as it could literally pass long long to printf arguments expecting long, but I suspect gcc will notice it and do "the right thing" (only a problem in 32 bit arches).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.