git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kevyn-Alexandre Paré" <kevyn.alexandre.pare@gmail.com>
To: linux-newbie@vger.kernel.org, kernel-janitors@vger.kernel.org,
	git@vger.kernel.org
Subject: Write and Submit Your First Kernel Patch
Date: Fri, 23 Oct 2009 14:46:24 -0400	[thread overview]
Message-ID: <dc1d0f40910231146y14028f4el9753debdf334103@mail.gmail.com> (raw)

Hi,

Just before I send my patch I got this error with:
./scripts/checkpatch.pl --terse --file
0001-Staging-comedi-driver-fix-coding-style.patch

0001-Staging-comedi-driver-fix-coding-style.patch:27: ERROR: trailing whitespace
0001-Staging-comedi-driver-fix-coding-style.patch:35: ERROR: trailing whitespace
0001-Staging-comedi-driver-fix-coding-style.patch:43: ERROR: trailing whitespace
0001-Staging-comedi-driver-fix-coding-style.patch:53: ERROR: trailing whitespace

I have done a step by step explanation of what I have done:
http://kapare.blogspot.com/2009/09/write-and-submit-your-first-kernel.html

It seem to me that the whitespace are added after I do this command:
git format-patch -s -n master..mybranch

Can someone help me with that because google did help me to found the answer?

Thx

kap

             reply	other threads:[~2009-10-23 18:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23 18:46 Kevyn-Alexandre Paré [this message]
     [not found] ` <87zl7hudn4.fsf@erwin.mina86.com>
     [not found]   ` <dc1d0f40910231219l600d3579i57c7580fe798d445@mail.gmail.com>
2009-10-23 19:41     ` Write and Submit Your First Kernel Patch Michal Nazarewicz
2009-10-23 19:52 ` Junio C Hamano
2009-10-23 20:30   ` Kevyn-Alexandre Paré
2009-10-23 20:34     ` Kevyn-Alexandre Paré
2009-10-23 20:33 ` Daniel Barkalow
2009-10-23 20:58   ` Junio C Hamano
2009-10-23 21:26     ` Kevyn-Alexandre Paré

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dc1d0f40910231146y14028f4el9753debdf334103@mail.gmail.com \
    --to=kevyn.alexandre.pare@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).