Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759683AbcCDVIS (ORCPT ); Fri, 4 Mar 2016 16:08:18 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:62884 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757489AbcCDVIR (ORCPT ); Fri, 4 Mar 2016 16:08:17 -0500 From: Arnd Bergmann To: Gianfranco Costamagna Cc: "linux-kernel@vger.kernel.org" , "trivial@kernel.org" Subject: Re: [PATCH] ARM: LLVMLinux: Change "extern inline" to "static inline" in mpi-inline.h and mpi-internal.h Date: Fri, 04 Mar 2016 22:07:59 +0100 Message-ID: <2127107.mNy2iA5WyI@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <947317636.5681951.1457124536330.JavaMail.yahoo@mail.yahoo.com> References: <5693177.gLSTqHZso3@wuerfel> <947317636.5681951.1457124536330.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:N80yHNBM01qBQnv8LlyWxK/MvO7mgOic1IKk3cj4M+3hRuE+5fn 85zuMNSF6eVdJhRKOEYPSCNKoi1ZY2qCH5brSp4/ZJMrJl2xybkuPzK8D//Voc4N8cKkZij T9KVpoV+72tEBBIgiC8wsO3V0vMxBfvYQviWXnZz9ddyPxtuWf9KRrLq+3p0bY7IBtTbmB0 OXS7AfpIje9+cMf1RrjfA== X-UI-Out-Filterresults: notjunk:1;V01:K0:6hwLbdjlEoI=:64ZI9dI4ie1dJMJtNEVm2I kCjXmo4pYx/YYuZ2JiUwpYLCF2Bv0uhAB1x5lnX1ZOE5LVEbj5pqXmnkHJ2O1xTtcxKKSaQg3 XuS0kX18QBx/5dzexAnbFavJDwjSXFxt7oQ/A9xsp4UrjCaKQpHYUjOyfGOUgEWBBtqxrLzYS Q+eVqoBpRu6N2kAi1dV22zFUj5qOiUNJi4oPvLUY2FPSAgo/o674S0Tx9bL3U0LffTadJL4iN J6EFW4PZdybweU8M7ViS+TPjFMyDvnrtymOzSpo247AVoqmaCksTODpdVpRIvrglGAJLM9PWY tPSyLgxMukeUUGZYnPJcIDr/hhCR0i211PXpiW59q0YDqKcitN3bC3FUF/6nQt8rWTroivHcJ xWkEtLlrjrd82qd3c2utwbgxkH7HWjXqjLyK0didtzFSm1yEjX2H1t1P08lkWOc5YnC7VLOlV 4g8z2wSqSaEUlB55cVI6V5iTpkZMrlTMOLjX6ns2cXr3y8puA1lDXG/u//P4nWbNheY1nILNE GxrfRT7uhSfapypkCiJLpZlFEseIys1yLUO/ePAtMIBZjDmP6IfQLp0pMNRfQpcNN3jXkNz+1 YHWbrtj7zibgnP5MAbGUZYKosMLpwFDF00bjHAV3YOxop8frQcTRhtzUZ8tI4MCdoxJ2luaAO Y3pjsPTv0gWWy9Zx5pfqQBL8qMMftORngg5leYqfZVsq0tv6V1BgDYjdV6g+9zdYol4Jt9bIZ l4fmJMLldskrq5LM Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3403 Lines: 87 On Friday 04 March 2016 20:48:56 Gianfranco Costamagna wrote: > >Close, but not quite right. > > >It's currently in the crypto tree after Herbert Xu picked it up. > >It is scheduled to be merged into 4.6 at the moment. > > > wonderful, sure, in the next merge window is good. > But there is a little difference between your patch and mine. > > In your case they were build warnings, now with gcc-5 as default > (e.g. Debian, Ubuntu), they are errors, so I would give the patch > merge a speedup... > > but who am I to give suggestions to kernel folks? :) Can you be more specific about which compiler you use? I had seen this problem with prerelease gcc-5.0 versions, but I don't see it with 5.1.1, 5.2.1 or 5.3.1. > I can use the patch locally, and wait for the next release (actually > I'm using it on iMX6 machines, so I have to backport this kind of patches > anyway) > >The mail is not formatted in a way that allows being imported with > >'git am'. The best way to do this right is to use the headers > >as they come from git format-patch directly, and start the mail with > >the changelog text (and with a From: line before that). > > > I did a git format-patch -1 commitid, from the source tree. > The mail client (Thunderbird) has been configured with the documentation > > in the source tree, but I think it failed to not wrap the lines :) I think this part was fine, only the subject line got wrapper (correctly). The problem was really starting the email with text that should have gone below the --- line that separate the changelog text from the additional information. > (I also have used git send-email or something similar some months ago, maybe > I could have just used it) That would have worked. > >Here you have kept my Signed-off-by line, but not the author attribution. > >This is easy to get wrong. You probably want to change the author > >field using 'git commit --amend --author="Arnd Bergmann "', > >which will cause the correct From: line to show up when exporting it > >with git send-email. > > > I know really good git, but I left it that way, because actually the patch was different > from your one, and I don't want people blaming you instead of me. > > (not sure if the right approach, I thought the signoff was something nice, but > probably I agree it is even worse) As a rule, the first signoff should always match the author, and the last signoff should match the submitter. If you change the patch enough to put your own name in the author field, you should then drop my Signed-off line and instead mention me in the changelog describing that where you found the original patch. > >You have marked the function as 'static' here, rather than 'static inline' > >as I did in my patch. I think my version is better here, because it matches > >the definition of the function, and because declaring a function as > >'static' in a header file is generally a bad idea: you will get a build > >warning or error if the header is included in a file that does not provide > >a definition. > > > true story, bad copy paste from commits > aeea3592a13bf12861943e44fc48f1f270941f8d > 76ae03828756bac2c1fa2c7eff7485e5f815dbdb > > I'll try to make it right the next time! > > thanks for the explanation, I patch kernel almost daily, I hope to contribute to it > in the near future. Ok, cool. Looking forward to more patches then. Arnd