Re: Fix quilt merge error in acpi-cpufreq.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Wednesday, April 15, 2009 - 7:34 pm

On Thu, 16 Apr 2009, Rusty Russell wrote:

I do agree that that's generally a good idea, although I will tend to edit 
it down when people send in 20 lines of compile errors. Nobody cares at 
that point, and it doesn't add value. Give the first few errors, not a 
whole log-ful of them.

I also ask that people edit away the irrelevant site-specific parts. I do 
that editing myself when I notice, but in case it goes through somebody 
who doesn't, or in case I don't notice, look which one is more readable 
and informative:

    Fix the following warning:
    
    fs/fuse/file.c: In function 'fuse_direct_io':
    fs/fuse/file.c:1002: warning: passing argument 3 of 'fuse_get_user_pages' from incompatible pointer type

or

    Fix staging/rt28x0 printk format warnings:
    
    linux-next-20090209/drivers/staging/rt2860/common/spectrum.c:1599: warning: format '%d' expects type 'int', but argument 3 has type
    linux-next-20090209/drivers/staging/rt2860/rt_linux.c:857: warning: format '%d' expects type 'int', but argument 3 has type 'long u

and realize that the "linux-next-20090209/" part doesn't help (and that's 
a pretty _mild_ example of this particular issue, we have tons of examples 
of absolute pathname prefixes like "/home/jeremy/hg/xen/paravirt/linux/", 
so if you look at the log in even a 100-character wide window, you hardly 
see any of the actual _warning_ at all, it's mostly all just pathnames ;)


Oh, I'm absolutely not going to claim that we should not improve on 
changelogs in general. But if you actually look at that commit, I would 
argue that the commit message together with the patch is likely not that 
bad to understand for somebody who understands the hardware well enough 
for the code to make sense in the first place!

So could it be improved? I suspect _every_ commit message can be improved. 
But do you really think that an "Impact" statment would be the big deal? 
Or, in fact, any kind of "fixed message format".


And here, the "impact:" part certainly in no way improves anything. 


And yes, I agree that in many cases you don't need a body at all. If the 
patch is trivial, and the subject tells it all, then why bother with a 
body? We've got a fair number of those.

That said, I'd rather have a few redundant (but still readable) bodies. 
And as mentioned, I don't think a "perfect" changelog exists. Some people 
will always want more, others will think it's unnecessary. And even if a 
perfect changelog existed, we'll never have the perfect people who write 
them.

But machine-readability should be the _last_ thing we look for.

			Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Mon Apr 13, 7:05 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Tue Apr 14, 10:44 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Rusty Russell, (Wed Apr 15, 3:44 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 8:05 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ali Gholami Rudi, (Wed Apr 15, 8:22 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 8:28 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 9:26 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 9:41 am)
Re: Fix quilt merge error in acpi-cpufreq.c, H. Peter Anvin, (Wed Apr 15, 9:46 am)
Re: Fix quilt merge error in acpi-cpufreq.c, H. Peter Anvin, (Wed Apr 15, 10:00 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 10:19 am)
Re: Fix quilt merge error in acpi-cpufreq.c, H. Peter Anvin, (Wed Apr 15, 11:47 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 12:43 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 1:07 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Andrew Morton, (Wed Apr 15, 1:32 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 2:03 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 2:15 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Andrew Morton, (Wed Apr 15, 2:17 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, David Miller, (Wed Apr 15, 2:23 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 3:40 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 3:48 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 4:04 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 4:08 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 4:11 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, David Miller, (Wed Apr 15, 4:49 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 5:08 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 5:23 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 5:38 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 5:44 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 5:50 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 6:03 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Rusty Russell, (Wed Apr 15, 6:27 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Wed Apr 15, 6:46 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Rusty Russell, (Wed Apr 15, 7:00 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Paul Gortmaker, (Wed Apr 15, 7:22 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 7:22 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Theodore Tso, (Wed Apr 15, 7:31 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Linus Torvalds, (Wed Apr 15, 7:34 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ray Lee, (Wed Apr 15, 8:10 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Theodore Tso, (Wed Apr 15, 8:55 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, H. Peter Anvin, (Wed Apr 15, 9:33 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Thu Apr 16, 12:14 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Thu Apr 16, 12:23 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Thu Apr 16, 12:44 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Thu Apr 16, 12:56 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Thu Apr 16, 1:02 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Christoph Hellwig, (Thu Apr 16, 4:00 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Theodore Tso, (Thu Apr 16, 4:57 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Valdis.Kletnieks, (Thu Apr 16, 6:04 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Jonathan Corbet, (Thu Apr 16, 6:55 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Valdis.Kletnieks, (Thu Apr 16, 8:24 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Valdis.Kletnieks, (Thu Apr 16, 8:41 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Rusty Russell, (Mon Apr 20, 1:14 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Ingo Molnar, (Mon Apr 20, 3:38 am)
Re: Fix quilt merge error in acpi-cpufreq.c, Jonathan Corbet, (Tue Apr 21, 12:37 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Rusty Russell, (Tue Apr 21, 6:58 pm)
Re: Fix quilt merge error in acpi-cpufreq.c, Rusty Russell, (Tue Apr 21, 9:18 pm)