From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757024Ab2LGXG1 (ORCPT ); Fri, 7 Dec 2012 18:06:27 -0500 Received: from terminus.zytor.com ([198.137.202.10]:42948 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752301Ab2LGXG0 (ORCPT ); Fri, 7 Dec 2012 18:06:26 -0500 Message-ID: <50C27665.4090206@zytor.com> Date: Fri, 07 Dec 2012 15:06:13 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Cong Ding CC: Thomas Gleixner , Ingo Molnar , x86@kernel.org, Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: Re: [PATCH] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const References: <1354920151-4461-1-git-send-email-dinggnu@gmail.com> <3c1e54bc-31ec-4a38-b6d3-58b25760f9cb@email.android.com> <20121207224949.GA6179@gmail.com> <50C27410.7050101@zytor.com> <20121207230302.GB6179@gmail.com> In-Reply-To: <20121207230302.GB6179@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/07/2012 03:03 PM, Cong Ding wrote: > On Fri, Dec 07, 2012 at 02:56:16PM -0800, H. Peter Anvin wrote: >> On 12/07/2012 02:49 PM, Cong Ding wrote: >>> On Fri, Dec 07, 2012 at 02:45:43PM -0800, H. Peter Anvin wrote: >>>> Patch description please? >>> there are 2 consts in the definition of one variable >>> >> >> Please put in an actual patch description. The first line (subject >> line) is a title; the patch should make sense without it. > sorry for that. so like this is fine? > Well, except that typically you should explain which variable it is. Yes, it is obvious if you look at the patch, but you're making the reader spend a few more moments than necessary. Also, you should explain what the harm is -- if it breaks anything or is just a cosmetic issue. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.