
{"id":4047,"date":"2010-12-04T23:23:19","date_gmt":"2010-12-04T17:53:19","guid":{"rendered":"http:\/\/www.froisa.com\/?p=4047"},"modified":"2010-12-04T23:23:19","modified_gmt":"2010-12-04T17:53:19","slug":"write-linux-kernel-patch-0-1-raw","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/12\/04\/write-linux-kernel-patch-0-1-raw\/","title":{"rendered":"write linux kernel patch 0.23 raw"},"content":{"rendered":"<pre>\n write linux kernel patch 0.21  raw\nContent\n<pre>\ngit clone git:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/torvalds\/linux-2.6.git\nInitialized empty Git repository in \/home\/jeffrin\/linux-2.6\/.git\/\nremote: Counting objects: 1806930, done.\nremote: Compressing objects: 100% (278260\/278260), done.\nReceiving objects:  14% (255365\/1806930), 117.83 MiB | 127 KiB\/s\nResolving deltas: 100% (1513210\/1513210), done.\n<\/pre>\n<pre>\n$cd linux-2.6\n$.\/scripts\/ge\ngenksyms\/          get_maintainer.pl\n\n$.\/scripts\/get_maintainer.pl --file sound\/ac97_bus.c\nJaroslav Kysela &lt;perex@perex.cz&gt;\nTakashi Iwai &lt;tiwai@suse.de&gt;\nalsa-devel@alsa-project.org\nlinux-kernel@vger.kernel.org\n$\n\n<\/pre>\n<pre>\n\n$ git status\n# On branch master\nnothing to commit (working directory clean)\n$ git branch jeffrin\n$ git branch\n  jeffrin\n* master\n$ git checkout jeffrin\nSwitched to branch 'jeffrin'\n$\n$git status\n# On branch jeffrin\nnothing to commit (working directory clean)\n$\n$.\/scripts\/checkpatch.pl\ncheckpatch.pl: no input files\n$.\/scripts\/checkpatch.pl --file --terse sound\/ac97_bus.c\nsound\/ac97_bus.c:22: WARNING: line over 80 characters\nsound\/ac97_bus.c:75: WARNING: EXPORT_SYMBOL(foo); should immediately\nfollow its function\/variable\ntotal: 0 errors, 2 warnings, 77 lines checked\n\n<\/pre>\n<pre>\n$vim sound\/ac97_bus.c +22\n$.\/scripts\/checkpatch.pl --file --terse sound\/ac97_bus.c\nsound\/ac97_bus.c:22: ERROR: trailing whitespace\nsound\/ac97_bus.c:75: WARNING: EXPORT_SYMBOL(foo); should immediately\nfollow its function\/variable\ntotal: 1 errors, 1 warnings, 77 lines checked\n$vim sound\/ac97_bus.c +22\n$.\/scripts\/checkpatch.pl --file --terse sound\/ac97_bus.c\nsound\/ac97_bus.c:75: WARNING: EXPORT_SYMBOL(foo); should immediately\nfollow its function\/variable\ntotal: 0 errors, 1 warnings, 77 lines checked\n$vim sound\/ac97_bus.c +75\n\n<\/pre>\n<pre>\n$git status\n# On branch jeffrin\n# Changed but not updated:\n#   (use \"git add ...\" to update what will be committed)\n#   (use \"git checkout -- ...\" to discard changes in working directory)\n#\n#\tmodified:   sound\/ac97_bus.c\n#\nno changes added to commit (use \"git add\" and\/or \"git commit -a\")\n$git diff\ndiff --git a\/sound\/ac97_bus.c b\/sound\/ac97_bus.c\nindex a351dd0..c93251a 100644\n--- a\/sound\/ac97_bus.c\n+++ b\/sound\/ac97_bus.c\n@@ -19,9 +19,9 @@\n\n \/*\n  * Let drivers decide whether they want to support given codec from their\n- * probe method.  Drivers have direct access to the struct snd_ac97 structure and may\n- * decide based on the id field amongst other things.\n- *\/\n+ * probe method. Drivers have direct access to the struct snd_ac97\n+ * structure and may  decide based on the id field amongst other things.\n+*\/\n static int ac97_bus_match(struct device *dev, struct device_driver *drv)\n {\n        return 1;\n$\n\n<\/pre>\n<pre>\n\n$git commit sound\/ac97_bus.c\n[jeffrin a2c2867] sound: Fixed line limit issue in sound\/ac97_bus.c\nThis is a patch to the sound\/ac97_bus.c file that fixes up a 80\ncharacter line limit issue found by the checkpatch.pl tool.\nSigned-off-by: Jeffrin Jose \n 1 files changed, 3 insertions(+), 3 deletions(-)\n$git show HEAD\ncommit a2c2867876c246420a199a0fb4c36ad2965a42cc\nAuthor: Jeffrin Jose \nDate:   Mon Dec 6 19:27:53 2010 +0530\n\n    sound: Fixed line limit issue in sound\/ac97_bus.c\n    This is a patch to the sound\/ac97_bus.c file that fixes up a 80 character\n    line limit issue found by the checkpatch.pl tool.\n    Signed-off-by: Jeffrin Jose \n\ndiff --git a\/sound\/ac97_bus.c b\/sound\/ac97_bus.c\nindex a351dd0..c93251a 100644\n--- a\/sound\/ac97_bus.c\n+++ b\/sound\/ac97_bus.c\n@@ -19,9 +19,9 @@\n\n \/*\n  * Let drivers decide whether they want to support given codec from their\n- * probe method.  Drivers have direct access to the struct snd_ac97 structure and may\n- * decide based on the id field amongst other things.\n- *\/\n+ * probe method. Drivers have direct access to the struct snd_ac97\n+ * structure and may  decide based on the id field amongst other things.\n+*\/\n static int ac97_bus_match(struct device *dev, struct device_driver *drv)\n {\n        return 1;\n$git format-patch master..jeffrin\n0001-sound-Fixed-line-limit-issue-in-sound-ac97_bus.c.patch\n$.\/scripts\/checkpatch.pl 0001-sound-Fixed-line-limit-issue-in-sound-ac97_bus.c.patch\ntotal: 0 errors, 0 warnings, 12 lines checked\n\n0001-sound-Fixed-line-limit-issue-in-sound-ac97_bus.c.patch has no obvious style\nproblems and is ready for submission.\n$\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>write linux kernel patch 0.21 raw Content git clone git:\/\/git.kernel.org\/pub\/scm\/linux\/kernel\/git\/torvalds\/linux-2.6.git Initialized empty Git repository in \/home\/jeffrin\/linux-2.6\/.git\/ remote: Counting objects: 1806930, done. remote: Compressing objects: 100% (278260\/278260), done. Receiving objects: 14% (255365\/1806930), 117.83 MiB | 127 KiB\/s Resolving deltas: 100% (1513210\/1513210), done. $cd linux-2.6 $.\/scripts\/ge genksyms\/ get_maintainer.pl $.\/scripts\/get_maintainer.pl &#8211;file sound\/ac97_bus.c Jaroslav Kysela &lt;perex@perex.cz&gt; Takashi Iwai &lt;tiwai@suse.de&gt; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/12\/04\/write-linux-kernel-patch-0-1-raw\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;write linux kernel patch 0.23 raw&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[82],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4047"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=4047"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/4047\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=4047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=4047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=4047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}