write linux kernel patch 0.21 raw Contentgit 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 --file sound/ac97_bus.c Jaroslav Kysela <perex@perex.cz> Takashi Iwai <tiwai@suse.de> alsa-devel@alsa-project.org linux-kernel@vger.kernel.org $$ git status # On branch master nothing to commit (working directory clean) $ git branch jeffrin $ git branch jeffrin * master $ git checkout jeffrin Switched to branch 'jeffrin' $ $git status # On branch jeffrin nothing to commit (working directory clean) $ $./scripts/checkpatch.pl checkpatch.pl: no input files $./scripts/checkpatch.pl --file --terse sound/ac97_bus.c sound/ac97_bus.c:22: WARNING: line over 80 characters sound/ac97_bus.c:75: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable total: 0 errors, 2 warnings, 77 lines checked$vim sound/ac97_bus.c +22 $./scripts/checkpatch.pl --file --terse sound/ac97_bus.c sound/ac97_bus.c:22: ERROR: trailing whitespace sound/ac97_bus.c:75: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable total: 1 errors, 1 warnings, 77 lines checked $vim sound/ac97_bus.c +22 $./scripts/checkpatch.pl --file --terse sound/ac97_bus.c sound/ac97_bus.c:75: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable total: 0 errors, 1 warnings, 77 lines checked $vim sound/ac97_bus.c +75$git status # On branch jeffrin # Changed but not updated: # (use "git add ..." to update what will be committed) # (use "git checkout -- ..." to discard changes in working directory) # # modified: sound/ac97_bus.c # no changes added to commit (use "git add" and/or "git commit -a") $git diff diff --git a/sound/ac97_bus.c b/sound/ac97_bus.c index a351dd0..c93251a 100644 --- a/sound/ac97_bus.c +++ b/sound/ac97_bus.c @@ -19,9 +19,9 @@ /* * Let drivers decide whether they want to support given codec from their - * probe method. Drivers have direct access to the struct snd_ac97 structure and may - * decide based on the id field amongst other things. - */ + * probe method. Drivers have direct access to the struct snd_ac97 + * structure and may decide based on the id field amongst other things. +*/ static int ac97_bus_match(struct device *dev, struct device_driver *drv) { return 1; $$git commit sound/ac97_bus.c [jeffrin a2c2867] sound: Fixed line limit issue in sound/ac97_bus.c This is a patch to the sound/ac97_bus.c file that fixes up a 80 character line limit issue found by the checkpatch.pl tool. Signed-off-by: Jeffrin Jose 1 files changed, 3 insertions(+), 3 deletions(-) $git show HEAD commit a2c2867876c246420a199a0fb4c36ad2965a42cc Author: Jeffrin Jose Date: Mon Dec 6 19:27:53 2010 +0530 sound: Fixed line limit issue in sound/ac97_bus.c This is a patch to the sound/ac97_bus.c file that fixes up a 80 character line limit issue found by the checkpatch.pl tool. Signed-off-by: Jeffrin Jose diff --git a/sound/ac97_bus.c b/sound/ac97_bus.c index a351dd0..c93251a 100644 --- a/sound/ac97_bus.c +++ b/sound/ac97_bus.c @@ -19,9 +19,9 @@ /* * Let drivers decide whether they want to support given codec from their - * probe method. Drivers have direct access to the struct snd_ac97 structure and may - * decide based on the id field amongst other things. - */ + * probe method. Drivers have direct access to the struct snd_ac97 + * structure and may decide based on the id field amongst other things. +*/ static int ac97_bus_match(struct device *dev, struct device_driver *drv) { return 1; $git format-patch master..jeffrin 0001-sound-Fixed-line-limit-issue-in-sound-ac97_bus.c.patch $./scripts/checkpatch.pl 0001-sound-Fixed-line-limit-issue-in-sound-ac97_bus.c.patch total: 0 errors, 0 warnings, 12 lines checked 0001-sound-Fixed-line-limit-issue-in-sound-ac97_bus.c.patch has no obvious style problems and is ready for submission. $
write linux kernel patch 0.23 raw
Leave a reply