From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754737AbcJNMAG (ORCPT ); Fri, 14 Oct 2016 08:00:06 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:60188 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754366AbcJNL74 (ORCPT ); Fri, 14 Oct 2016 07:59:56 -0400 Date: Fri, 14 Oct 2016 13:56:36 +0200 (CEST) From: Thomas Gleixner To: Piotr Luc cc: Mauro Carvalho Chehab , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, "Rafael J. Wysocki" , Viresh Kumar , Doug Thompson , Borislav Petkov , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Len Brown , linux-pm@vger.kernel.org, Srinivas Pandruvada Subject: Re: [PATCH v2 02/11] tools/power turbostat: Use Intel family processor macros In-Reply-To: <20161013153105.2517-3-piotr.luc@intel.com> Message-ID: References: <20161013153105.2517-1-piotr.luc@intel.com> <20161013153105.2517-3-piotr.luc@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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