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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 28 May 2005 01:50, [email protected] wrote:
> From: Olaf Hering <[email protected]>
> 
> 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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux