Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1233683
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Removed extra spaces, and error from checkpatch.pl |
| Date | 2015-09-27 17:10 +0200 |
| Message-ID | <qdlKp-2ih-3@gated-at.bofh.it> (permalink) |
| References | <qd7R7-7uE-1@gated-at.bofh.it> <qddjQ-74V-3@gated-at.bofh.it> <qdlKp-2ih-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Sep 27, 2015 at 01:59:17PM +0530, Pinkesh Jain wrote: > There were many warnings and error given by checkpatch.pl and most of them were > almost of the same type so i believed a single patch is enough to do the > cleanup. > > 1. Remove errors of the struct declaration (foo*bar to foo *bar) > 2. Removed warnings of 'spaces before comma'. > 3. Added space after enum declaration and before opening of paranthesis. > 4. removed spaces between function calls (func () to func() ) > 5. Still there are a lot of warnings related to only line lengths but removing > then would not make sense and would leave the code unreadable. > > There were one or two more of such kind of very small code refactoring that i > did. Since they were not that important, also i 'Did Not Alter' any other part > of functioning code so i made the changes in a single patch. > > I am new here and this is my first patch so please give meĀ enough suggestions > and reviews for what i do, so that i can get familiar with the community > guidelines. > > If i do anything wrong then please correct me. > > Questions: > 1.) Do i need to mention all this changes that i wrote about in the commit as > they are very descriptive? I tried to be brief in the commit message. Be descriptive. > 2.) Do i need to split the changes in separate commits, as one of the members > pointed out. yes. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] Removed extra spaces, and error from checkpatch.pl Pinkesh Badjatiya <pinkeshbadjatiya@gmail.com> - 2015-09-27 02:20 +0200
Re: [PATCH] Removed extra spaces, and error from checkpatch.pl Jes Sorensen <Jes.Sorensen@redhat.com> - 2015-09-27 04:30 +0200
Re: [PATCH] Removed extra spaces, and error from checkpatch.pl Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-09-27 08:10 +0200
Re: [PATCH] Removed extra spaces, and error from checkpatch.pl Greg KH <gregkh@linuxfoundation.org> - 2015-09-27 17:10 +0200
csiph-web