Re: [PATCH 4/5]block:cryptoloop Fix warning: variable 'cipher' set but not used

From: David Howells
Date: Mon Jun 28 2010 - 08:49:49 EST


Justin P. Mattock <justinmattock@xxxxxxxxx> wrote:

> Im getting this when compiling on gcc 4.6.0
> CC [M] drivers/block/cryptoloop.o
> drivers/block/cryptoloop.c: In function 'cryptoloop_init':
> drivers/block/cryptoloop.c:46:8: warning: variable 'cipher' set but not used
> The below fixes it for me. Please have a look and let me know.
>
> Signed-off-by: Justin P. Mattock <justinmattock@xxxxxxxxx>

Acked-by: David Howells <dhowells@xxxxxxxxxx>
--
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/