If you simply wanna send a patch linux kernel source tree, follow the process below.
<1> Find which source tree you want to contribute in the site https://git.kernel.org
(If you want to contribute to ‘tools/perf’, recommend the branch perf/core in ‘tip’ source tree below.. )
$ git clone -b perf/core git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf/core
(Even though you want to find other source tree, you can’t find it.
Find in ‘MAINTAINERS’ file or ask mailing list for the sub project you want “what is the source tree and branch in it ?”.)
<2> After you modify source code, check your commit.
$ git add -A && git commit -s && git show
<3> You can make a patch file.
$ git format-patch -1
<4> Check your patch.
$ scripts/checkpatch.pl 0001-modify-something.patch
<5> Get maintainer email address to which you send your patch.
$ scripts/get_maintainer.pl 0001-modify-something.patch
<6> If there isn’t the problems, send email to maintainer and kernel mailing list.
$ git send-email --to "email@address" --cc "some@address" //format
$ git send-email --to "Arnaldo Carvalho de Melo <acme@kernel.org>"\
> --cc "linux-kernel@vger.kernel.org" \
> --cc "linux-perf-users@vger.kernel.org"\
> 0001-modify-something.patch
- I refer to http://studyfoss.egloos.com/5392934
No comments:
Post a Comment