Submitting a patch for echo.c driver

Kevin McKinney klmckinney1 at gmail.com
Thu Jul 14 12:46:06 UTC 2011


Hi Tobias,

On Jul 14, 2011, at 2:36 AM, Tobias Klauser <tklauser at distanz.ch> wrote:

> On 2011-07-14 at 04:36:19 +0200, Kevin McKinney <klmckinney1 at gmail.com> wrote:
>> Hi Kernel developers.
>> 
>> Please forgive me for bothering you with such trivial matters.  My
>> name is Kevin McKinney and I am an aspiring kernel developer trying to
>> submit my first patch. However, I am unable to commit my changes to
>> git. Can someone give me a little guidance on submitting my patch?  I
>> am following the article on
>> http://www.tuxradar.com/content/newbies-guide-hacking-linux-kernel.
>> The problem I am having is when I enter my comments, save, and exit
>> nano (my text editor), I receive a message that says my commit has
>> aborted because of empty comments. But I have indeed entered comments.
>> Any help would be appreciated.  Can someone tell me what I am doing
>> wrong?
>> 
>> # Staging: echo.c: Clean up code in echo.c driver based on checkpatch.pl
>> # Fix 6 warnings to export symbols under its function definition
>> # Fix 2 errors need consistent spacing around '*'
>> #
>> # Signed-off-by: Kevin L. McKinney <klmckinney1 at gmail.com>
> 
> If you're putting a '#' in front of a line in your commit message, git
> will treat it as a comment and it will not be considered part of your
> commit.

Thanks, that was the problem!!!
- Kevin


> HTH
> Tobias



More information about the devel mailing list