Type mismatch issues
A couple of issues related to type mismatches found by my colleague
I don't have commit access to make a MR, so here are two patches attached0001-tools-fix-handling-of-getopt-return-value.patch
0002-liblinux-devmap-Fix-incorrect-parsing-of-64-bit-offs.patch