From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C3526B70E3 for ; Thu, 4 Nov 2010 01:18:05 +1100 (EST) Subject: Re: [PATCH 2/3 RESEND] powerpc: remove cast from void* From: Benjamin Herrenschmidt To: Jiri Kosina In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 04 Nov 2010 01:18:01 +1100 Message-ID: <1288793881.2147.73.camel@pasglop> Mime-Version: 1.0 Cc: matt mooney , linuxppc-dev@lists.ozlabs.org, kernel-janitors@vger.kernel.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2010-11-03 at 10:15 -0400, Jiri Kosina wrote: > On Mon, 27 Sep 2010, matt mooney wrote: > > > Unnecessary cast from void* in assignment. > > > > Signed-off-by: matt mooney > > --- > > arch/powerpc/platforms/pseries/hvCall_inst.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/arch/powerpc/platforms/pseries/hvCall_inst.c b/arch/powerpc/platforms/pseries/hvCall_inst.c > > index e19ff02..f106662 100644 > > --- a/arch/powerpc/platforms/pseries/hvCall_inst.c > > +++ b/arch/powerpc/platforms/pseries/hvCall_inst.c > > @@ -55,7 +55,7 @@ static void hc_stop(struct seq_file *m, void *p) > > static int hc_show(struct seq_file *m, void *p) > > { > > unsigned long h_num = (unsigned long)p; > > - struct hcall_stats *hs = (struct hcall_stats *)m->private; > > + struct hcall_stats *hs = m->private; > > > > if (hs[h_num].num_calls) { > > if (cpu_has_feature(CPU_FTR_PURR)) > > This doesn't seem to be present in 37-rc1, so I am taking it to trivial > queue. If this has been already merged to another tree, let me know. Looks like I missed it, but Ack. Cheers, Ben.