newbie test patch
Subsystems (2)
Hi GURU's,
I did a git diff and pasted the patch here. I am not sure this is the
right way of doing it. Kindly guide me if wrong.
Also how do I add the sign off text automatically.
----------
changing pci_find_device to pci_get_device in drivers/pci/search.c
drivers/pci/search.c +2 -1
@@ -97,10 +97,11 @@ pci_find_slot(unsigned int bus, unsigned {struct pci_dev *dev =NULL ; - while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) !NULL) { + while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) !NULL) {if (dev->bus->number = bus && dev->devfn = devfn)return dev; } +pci_dev_put (dev);return NULL ; }
surya.
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 3 lines · Surya Prabhakar
Hi GURU's,
I did a git diff and pasted the patch here. I am not sure this is the
right way of doing it.
It is not. Your patch is whitespace damaged. Please try mailing a patch to yourself, save the email and try applying the patch - if it doesn't work for you it won't work for other people either.
Quoted 2 lines
Kindly guide me if wrong.
Please read these documents :
Documentation/HOWTODocumentation/SubmittingPatchesDocumentation/SubmitChecklistDocumentation/applying-patches.txt
http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
Quoted 1 line
Also how do I add the sign off text automatically.
git (if you use it) can do that - I believe quilt can also do that. Or you can write your own mailing script to send off the patches that adds the line.....
Signature · 7 lines
Jesper Juhl <[email protected]> Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html _______________________________________________ Kernel-janitors mailing list [email protected] https://lists.osdl.org/mailman/listinfo/kernel-janitors
Quoted 11 lines · Jesper Juhl
Quoted 3 lines · Surya Prabhakar
Hi GURU's,
I did a git diff and pasted the patch here. I am not sure this is the
right way of doing it.It is not. Your patch is whitespace damaged. Please try mailing a patch to yourself, save the email and try applying the patch - if it doesn't work for you it won't work for other people either.
Quoted 2 lines
Kindly guide me if wrong.
Quoted 7 lines
Please read these documents :
Documentation/HOWTODocumentation/SubmittingPatchesDocumentation/SubmitChecklistDocumentation/applying-patches.txt
http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
Also Lurking LKML for 2 or 3 weeks will let you understand alot of important stuff (rule applies to any development mailing list ofcourse)
Signature · 6 lines
Ahmed S. Darwish http://darwish-07.blogspot.com _______________________________________________ Kernel-janitors mailing list [email protected] https://lists.osdl.org/mailman/listinfo/kernel-janitors