Messages in this thread Patch in this message | | | From | Alexey Dobriyan <> | Subject | Re: update-comment-about-gzip-scratch-size.patch added to -mm tree | Date | Sat, 28 May 2005 02:15:00 +0400 |
| |
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/
| |