[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150701080242.GD2411@sudip-PC>
Date: Wed, 1 Jul 2015 13:32:42 +0530
From: Sudip Mukherjee <sudipm.mukherjee@...il.com>
To: Sohny Thomas <sohnythomas@...o.com>
Cc: benjamin.romer@...sys.com, david.kershner@...sys.com,
bryan.thompson@...sys.com, erik.arfvidson@...sys.com,
devel@...verdev.osuosl.org, gregkh@...uxfoundation.org,
sparmaintainer@...sys.com, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Staging: unisys: virtpci: fixed a brace coding style
issue
On Wed, Jul 01, 2015 at 01:06:48PM +0530, Sohny Thomas wrote:
<snip>
> >No, now this will introduce a new checkpatch warning that "else is not
> >required after return". why did you introduce this "else"?
> I did this so that the code is more readable and understandable, I
> checked and checkpatch didn't call this out , so its clean.
>
> Otherwise the above code looks like this
>
> if(i)
> return 1;
> return 0;
you should update your tree. virtpci folder has been deleted from
unisys driver.
As you are using an old tree, maybe that explains why checkpatch is not
giving the error.
regards
sudip
--
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