[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F8C78AC.8000202@landley.net>
Date: Mon, 16 Apr 2012 14:53:16 -0500
From: Rob Landley <rob@...dley.net>
To: richard -rw- weinberger <richard.weinberger@...il.com>
CC: H Hartley Sweeten <hartleys@...ionengravers.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>
Subject: Re: [PATCH] Documentation: remove 'linux' from dontdiff file
On 04/13/2012 06:09 PM, richard -rw- weinberger wrote:
> On Sat, Apr 14, 2012 at 1:06 AM, H Hartley Sweeten
> <hartleys@...ionengravers.com> wrote:
>> Hmm.. So we are suppressing an entire branch of the directory tree (a
>> fairly major one at that) for one file?
>>
>
> No, we need a better solution.
> Your patch replaces a regression with another one...
Could somebody explain the purpose of this file to me? According to
SubmittingPatches:
> To create a patch for multiple files, you should unpack a "vanilla",
> or unmodified kernel source tree, and generate a diff against your
> own source tree. For example:
>
> MYSRC= /devel/linux-2.6
>
> tar xvfz linux-2.6.12.tar.gz
> mv linux-2.6.12 linux-2.6.12-vanilla
> diff -uprN -X linux-2.6.12-vanilla/Documentation/dontdiff \
> linux-2.6.12-vanilla $MYSRC > /tmp/patch
>
> "dontdiff" is a list of files which are generated by the kernel during
> the build process, and should be ignored in any diff(1)-generated
> patch. The "dontdiff" file is included in the kernel tree in
> 2.6.12 and later. For earlier kernel versions, you can get it
> from <http://www.xenotime.net/linux/doc/dontdiff>.
Allowing a vmlinux equivalent in there would produce "binary files
differ", which is noise but not a regression. (The resulting patch
wouldn't functionally differ when applied.)
If it's really bothersome, possibly that hunk should have instructions
that you should compare against a _clean_ tree you've done "make
distclean" on?
Rob
--
GNU/Linux isn't: Linux=GPLv2, GNU=GPLv3+, they can't share code.
Either it's "mere aggregation", or a license violation. Pick one.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists