Re: [PATCH 1/3] scripts/patch-kernel: fix typos and compression comment

From: Michal Marek
Date: Mon May 21 2012 - 07:35:08 EST


On 21.5.2012 04:49, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
>
> Fix typo, drop trailing whitespace, and add "xz" to list of
> compression types supported.
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
> ---
> scripts/patch-kernel | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- lnx-34-rc7-pk.orig/scripts/patch-kernel
> +++ lnx-34-rc7-pk/scripts/patch-kernel
> @@ -26,8 +26,8 @@
> #
> # Nick Holloway <Nick.Holloway@xxxxxxxxxxxxxxxxx>, 2nd January 1995.
> #
> -# Added support for handling multiple types of compression. What includes
> -# gzip, bzip, bzip2, zip, compress, and plaintext.
> +# Added support for handling multiple types of compression. That includes
> +# gzip, bzip, bzip2, zip, compress, xz, and plaintext.
> #
> # Adam Sulmicki <adam@xxxxxxxxxxxx>, 1st January 1997.

You are editing a changelog entry from time when xz did not exist. Why
don't you instead add a note to the usage examples at the beginning of
the script, that several compression formats are supported.

BTW, are you actually *using* this script? Wow, that would be two
confirmed users in this calendar year alone :).

Michal
--
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/