This patch series includes build fixes, warning fixes, and cleanups discovered while adding turbostat to ChromeOS.
The first and third patches should go into stable, and I've CCed them accordingly. The first patch unbreaks the turbostat build on systems with older versions of kernel headers. The third patch is required to build on 32-bit x86. The second and fourth patches fix warnings. Patches 5-7 are code cleanups, and the last patch adds turbostat itself to .gitignore. Josh Triplett (8): turbostat: Don't put unprocessed uapi headers in the include path turbostat: Don't attempt to printf an off_t with %zx turbostat: Use GCC's CPUID functions to support PIC turbostat: Check return value of fscanf turbostat: Add a helper to parse a single int out of a file turbostat: Factor out common function to open file and exit on failure turbostat: Clean up error handling; disambiguate error messages; use err and errx turbostat: Add a .gitignore to ignore the compiled turbostat binary tools/power/x86/turbostat/.gitignore | 1 + tools/power/x86/turbostat/Makefile | 2 +- tools/power/x86/turbostat/turbostat.c | 210 +++++++++++++--------------------- 3 files changed, 82 insertions(+), 131 deletions(-) create mode 100644 tools/power/x86/turbostat/.gitignore -- 1.8.4.rc3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/