Re: [PATCH v2 02/11] tools/power turbostat: Use Intel family processor macros

From: Thomas Gleixner
Date: Fri Oct 14 2016 - 08:00:08 EST


On Thu, 13 Oct 2016, Piotr Luc wrote:
> + case INTEL_FAM6_NEHALEM_EP: /* Core i7, Xeon 5500 series - Bloomfield, Gainstown NHM-EP */

What's the point of keeping all those comments around?

> + case INTEL_FAM6_SANDYBRIDGE: /* SNB */

Especialy those, which are completely useless?

The defines are there to be self explaining and the extra verbose
information should be in the header file defining the macros and not in the
source code.

Thanks,

tglx