Skip to content

Commit

Permalink
SubmittingPatches: add checkpatch note
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
  • Loading branch information
jpirko committed Feb 2, 2017
1 parent 40177cf commit b3f9967
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion SubmittingPatches
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ $ git show
6) Extract the patch in a standard format into /tmp directory
$ git format-patch origin -o /tmp --subject-prefix "patch libteam"

7) Use git send-email to send the patch*.
7) Use checkpatch script from the kernel sources to find possible styling
issues in your patch:
$ path-to-kernel-sources/scripts/checkpatch.pl /tmp/0001-somepatch.patch

8) Use git send-email to send the patch*.
$ git send-email /tmp/0001-somepatch.patch \
--to=libteam@lists.fedorahosted.org --cc=jiri@resnulli.us

Expand Down

0 comments on commit b3f9967

Please sign in to comment.