Re: Submitting a patch for echo.c driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2011-07-14 at 04:36:19 +0200, Kevin McKinney <klmckinney1@xxxxxxxxx> 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@xxxxxxxxx>

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.

HTH
Tobias
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux