[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1397424990.31896.10.camel@x220>
Date: Sun, 13 Apr 2014 23:36:30 +0200
From: Paul Bolle <pebolle@...cali.nl>
To: Pascal COMBES <pascom@...nge.fr>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
devel@...verdev.osuosl.org,
Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@...el.com>,
Jarod Wilson <jarod@...sonet.com>,
Jingoo Han <jg1.han@...sung.com>,
Valentina Manea <valentina.manea.m@...il.com>,
linux-kernel@...r.kernel.org, Naren Sankar <nsankar@...adcom.com>,
Monam Agarwal <monamagarwal123@...il.com>,
Scott Davilla <davilla@....com>,
Amarjargal Gundjalam <amarjargal16@...il.com>,
Dan Carpenter <dan.carpenter@...cle.com>,
Robert Foss <dev@...ertfoss.se>
Subject: Re: [PATCH v2 2/3] Fix coding style problem (cast with space) in
drivers/staging/crystalhd/crystalhd_lnx.c
On Sun, 2014-04-13 at 21:13 +0200, Pascal COMBES wrote:
> From: Pascal COMBES <pascom@...nge.fr>
>
> Fix coding style problem in drivers/staging/crystalhd/crystalhd_lnx.c:
> No space needed before a cast.
>
> Signed-off-by: Pascal COMBES <pascom@...nge.fr>
> ---
> diff --git a/drivers/staging/crystalhd/crystalhd_lnx.c b/drivers/staging/crystalhd/crystalhd_lnx.c
> index fd7f08a..15e8f02 100644
> --- a/drivers/staging/crystalhd/crystalhd_lnx.c
> +++ b/drivers/staging/crystalhd/crystalhd_lnx.c
> @@ -28,7 +28,7 @@ static struct crystalhd_adp *g_adp_info;
>
> static irqreturn_t chd_dec_isr(int irq, void *arg)
> {
> - struct crystalhd_adp *adp = (struct crystalhd_adp *) arg;
> + struct crystalhd_adp *adp = (struct crystalhd_adp *)arg;
Shouldn't this cast just be dropped instead?
> int rc = 0;
> if (adp)
> rc = crystalhd_cmd_interrupt(&adp->cmds);
>
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists