Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbcCGEGB (ORCPT ); Sun, 6 Mar 2016 23:06:01 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:46050 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840AbcCGEF5 (ORCPT ); Sun, 6 Mar 2016 23:05:57 -0500 X-AuditID: cbfec7f4-f79026d00000418a-9a-56dcfe21e9d4 Subject: Re: [PATCH 1/2] crypto: s5p-sss - Minor coding cleanups To: Vladimir Zapolskiy , Krzysztof Kozlowski , Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org References: <1457259436-32560-1-git-send-email-krzk@kernel.org> <56DCD301.4030401@mleia.com> From: Krzysztof Kozlowski Message-id: <56DCFE1D.7000106@samsung.com> Date: Mon, 07 Mar 2016 13:05:49 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-version: 1.0 In-reply-to: <56DCD301.4030401@mleia.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCLMWRmVeSWpSXmKPExsVy+t/xy7qK/+6EGdx6omAx53wLi0X3KxmL 1y8MLc6f38Bucf/eTyaLy7vmsFnMOL+PyeL/r2ZmBw6PLStvMnlsO6DqsWlVJ5vHv4VTWDz6 tqxi9Pi8SS6ALYrLJiU1J7MstUjfLoErY96vfWwFv/krrvydz9jA+Jini5GTQ0LARKKh6Twj hC0mceHeerYuRi4OIYGljBKn3v0DSwgJPGWUOHmMGcQWFnCQmH7zCTtIkYhAC5PElI5tLBBF cRJNpxaD2WwCxhKbly9hA7F5BbQk+u9NB2rm4GARUJXoPisOEhYViJA43NnFDlEiKPFj8j2w Vk4BTYnfOxczgpQzC+hJ3L+oBRJmFpCX2LzmLfMERv5ZSDpmIVTNQlK1gJF5FaNoamlyQXFS eq6hXnFibnFpXrpecn7uJkZIWH/Zwbj4mNUhRgEORiUeXoslt8OEWBPLiitzDzFKcDArifC+ +ngnTIg3JbGyKrUoP76oNCe1+BCjNAeLkjjv3F3vQ4QE0hNLUrNTUwtSi2CyTBycUg2M1nX3 TTO973WsW+fWznZA582c6++/1m+6b+6eeuuPm6nftq+qvuqzo+5l7Zh6fsLH96vtlR8phm9v erimq73pw2zu0hTZlBALb4m84G73jU+lM3Z7sx7/NnPyQfmoS++5eoq01yt4LF0+6aT81rPG U807pmec0p2t/j1ihrrdP+0gx+uRn9yKlFiKMxINtZiLihMB9KL+eGcCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1982 Lines: 59 On 07.03.2016 10:01, Vladimir Zapolskiy wrote: > Hi Krzysztof, > > On 06.03.2016 12:17, Krzysztof Kozlowski wrote: >> Remove unneeded inclusion of delay.h and get rid of indentation from >> labels. > > just in case are you aware of this discussion regarding goto labels > http://lkml.iu.edu/hypermail/linux/kernel/0706.0/0809.html ? > > Practically there is no big need (neither it is a clean-up IMHO) > to change column 1 indentation of goto labels, however I do agree that > ^[a-z0-9_]\+:$ style of goto labels is 10 times more commonly used, > and that means it's a good time to update my ~/.emacs config. > > Someone may want to fix the style of another 5000+ goto labels one day, > though it is better to have an officially agreed policy beforehand. > > Anyway I do not strictly object against the change, see one my comment > below and feel free to add my > > Acked-by: Vladimir Zapolskiy Actually I was not aware of that discussion, thanks for pointing this out. Mostly I encountered the style without indentation but of course that does not mean it is the only one. > >> Signed-off-by: Krzysztof Kozlowski >> --- >> drivers/crypto/s5p-sss.c | 15 +++++++-------- >> 1 file changed, 7 insertions(+), 8 deletions(-) >> >> diff --git a/drivers/crypto/s5p-sss.c b/drivers/crypto/s5p-sss.c >> index 5f161a9777e3..60f835455a41 100644 >> --- a/drivers/crypto/s5p-sss.c >> +++ b/drivers/crypto/s5p-sss.c >> @@ -11,7 +11,6 @@ >> * >> */ >> >> -#include >> #include >> #include >> #include > > Since you are here, can you sort headers out, please? You mean sort by name (or by christmas tree)? I can... I am not sure about benefits of such patch (which should be the motivation for change). > And I'm pretty sure some more inclusions can be safely removed > from the list. I checked them while removing delay - all of them seem to be used. Best regards, Krzysztof