Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755221Ab0F2KkB (ORCPT ); Tue, 29 Jun 2010 06:40:01 -0400 Received: from buzzloop.caiaq.de ([212.112.241.133]:43377 "EHLO buzzloop.caiaq.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755069Ab0F2Kj7 (ORCPT ); Tue, 29 Jun 2010 06:39:59 -0400 Date: Tue, 29 Jun 2010 12:39:53 +0200 From: Daniel Mack To: Kulikov Vasiliy Cc: Kernel Janitors , Matt Mackall , Herbert Xu , Grant Likely , Sean MacLennan , Jiri Kosina , linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/25] n2-drv: remove casts from void* Message-ID: <20100629103953.GR10432@buzzloop.caiaq.de> References: <1277806502-30772-1-git-send-email-segooon@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1277806502-30772-1-git-send-email-segooon@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 36 On Tue, Jun 29, 2010 at 02:15:01PM +0400, Kulikov Vasiliy wrote: > Remove unnesessary casts from void*. I have no idea how I made it to this list of recipients, but the change looks sane to me :) Daniel > Signed-off-by: Kulikov Vasiliy > --- > drivers/char/hw_random/n2-drv.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c > index 0f9cbf1..101d5f2 100644 > --- a/drivers/char/hw_random/n2-drv.c > +++ b/drivers/char/hw_random/n2-drv.c > @@ -387,7 +387,7 @@ static int n2rng_init_control(struct n2rng *np) > > static int n2rng_data_read(struct hwrng *rng, u32 *data) > { > - struct n2rng *np = (struct n2rng *) rng->priv; > + struct n2rng *np = rng->priv; > unsigned long ra = __pa(&np->test_data); > int len; > > -- > 1.7.0.4 > -- 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/