lkml.org 
[lkml]   [2005]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [48/48] Suspend2 2.1.9.8 for 2.6.12: 624-filewriter.patch
On 7/6/05, Nigel Cunningham <nigel@suspend2.net> wrote:
> diff -ruNp 625-crypto-api-work.patch-old/crypto/lzf.c 625-crypto-api-work.patch-new/crypto/lzf.c
> --- 625-crypto-api-work.patch-old/crypto/lzf.c 1970-01-01 10:00:00.000000000 +1000
> +++ 625-crypto-api-work.patch-new/crypto/lzf.c 2005-07-05 23:57:15.000000000 +1000
> +static int lzf_compress(void * context, const u8 *in_data, unsigned int in_len,
> + u8 *out_data, unsigned int *out_len)
> +{
> + struct lzf_ctx * ctx = (struct lzf_ctx *) context;
> + const u8 **htab = ctx->hbuf;
> + const u8 **hslot;
> + const u8 *ip = in_data;
> + u8 *op = out_data;
> + const u8 *in_end = ip + in_len;
> + u8 *out_end = op + *out_len - 3;
> + const u8 *ref;
> +
> + unsigned int hval = FRST (ip);
> + unsigned long off;
> + int lit = 0;
> +
> + if (ctx->first_call) {
> + ctx->first_call = 0;
> + }
> +#if INIT_HTAB

[snip, snip]

scripts/Lindent, please.
-
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-07-06 16:16    [W:0.445 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site