[U-Boot] [PATCH v2] arm: fix a comment
Albert ARIBAUD
albert.u.boot at aribaud.net
Tue May 14 08:20:10 CEST 2013
Hi Masahiro,
On Tue, 14 May 2013 10:43:07 +0900, Masahiro Yamada
<yamada.m at jp.panasonic.com> wrote:
>
> > Changed for v2:
> > - Fix one more comment
>
> I added one more comment line fixed at version 2.
>
> So, I am thinking the commit log should become
> "arm: fix comments"
> rather than
> "arm: fix a comment"
>
> Is it better to re-post my patch as version 3
> with only commit log changed?
> Am I too worried about it??
You should try to read your commit message summary to yourself as if
you did not know what the change is about, because that's what it is
useful for: giving people a good idea of the change. If the summary
tells everything except the actual source code change, that's good.
A summary of "arm: fix comments" indicates two things about the
change: explicitly, that it is about ARM; and implicitly, that it is
cosmetic. But it does not say which part of U-Boot it applies to, even
though this single file can be mentioned in a summary line. Readers
will have to waste some time looking at the change content to find out.
Plus, if it is cosmetic, then the fact that it is about ARM does not
matter that much, does it? e.g., someone looking for ARM changes that
might explain a weird behavior will most certainly not be interested in
this change even though it is ARM. For instance, a cosmetic fix on ARM
code could easily go in the mainline tree without going through the ARM
tree first. So, I'd put "cosmetic:" first, but admittedly, that's a
debatable point.
So... how about a V3 with a commit summary of "cosmetic: arm: fix
comments in arch/arm/lib/crt0.S" ? People reading the summary for no
particular reason will know all there is to know except the detailed
comment fixes; people looking for crt0 changes will see it, and so will
people looking for ARM changes, but "cosmetic:" will help them move it
aside in their search; "cosmetic:" helps deciding whether to apply the
patch and to which tree; etc.
> I'm new here, and I'm not sure this kind of update is mandatory.
> I will appreciate any advice.
No problem.
> Best Regards
> Masahiro Yamada
Amicalement,
--
Albert.
More information about the U-Boot
mailing list