From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Date: Wed, 13 Aug 2014 08:46:54 +0000 Subject: Re: [PATCH 1/4] simplefb: formalize pseudo palette handling Message-Id: List-Id: References: <1407914239-12054-1-git-send-email-libv@skynet.be> <1407914239-12054-2-git-send-email-libv@skynet.be> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Wed, Aug 13, 2014 at 9:25 AM, David Herrmann wrote: >> @@ -225,7 +234,7 @@ static int simplefb_probe(struct platform_device *pdev) >> framebuffer_release(info); >> return -ENODEV; >> } >> - info->pseudo_palette = (void *)(info + 1); >> + info->pseudo_palette = (void *) par->palette; > > I think coding-style is this (i.e., no whitespace): > info->pseudo_palette = (void*)par->palette; Is this cast even needed? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds