lkml.org 
[lkml]   [2005]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: update-comment-about-gzip-scratch-size.patch added to -mm tree
Date
On Saturday 28 May 2005 01:50, akpm@osdl.org wrote:
> From: Olaf Hering <olh@suse.de>
>
> 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@gmail.com>

--- 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-05-28 00:23    [W:0.023 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site