Re: update-comment-about-gzip-scratch-size.patch added to -mm tree

From: Alexey Dobriyan
Date: Fri May 27 2005 - 17:20:20 EST


On Saturday 28 May 2005 01:50, akpm@xxxxxxxx wrote:
> From: Olaf Hering <olh@xxxxxxx>
>
> fix a comment about the array size.

> --- 25/arch/ppc/boot/openfirmware/chrpmain.c~update-comment-about-gzip-scratch-size
> +++ 25-akpm/arch/ppc/boot/openfirmware/chrpmain.c

> #define SCRATCH_SIZE (128 << 10)
>
> -static char scratch[SCRATCH_SIZE]; /* 1MB of scratch space for gunzip */
> +static char scratch[SCRATCH_SIZE]; /* 128k of scratch space for gunzip */

How about this?



Remove incorrect size from comment. scratch size is defined two lines above.

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>

--- linux-vanilla/arch/ppc/boot/openfirmware/chrpmain.c 2005-05-27 23:06:23.000000000 +0400
+++ linux-scratch/arch/ppc/boot/openfirmware/chrpmain.c 2005-05-28 02:08:54.000000000 +0400
@@ -39,7 +39,7 @@ char *avail_high;

#define SCRATCH_SIZE (128 << 10)

-static char scratch[SCRATCH_SIZE]; /* 1MB of scratch space for gunzip */
+static char scratch[SCRATCH_SIZE]; /* scratch space for gunzip */

typedef void (*kernel_start_t)(int, int, void *, unsigned int, unsigned int);

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