Re: [PATCH] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicateconst

From: H. Peter Anvin
Date: Fri Dec 07 2012 - 18:06:14 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/