Development: How to submit patches
Jump to navigation
Jump to search
Patch Preparation
- The cvs tree at cvs.linuxtv.org is the master copy of the video4linux and dvb subsystems. It can be retrieved by using:
cvs -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux login (use an empty password)
cvs -z3 -d :pserver:anonymous@cvs.linuxtv.org:/cvs/video4linux co -P v4l-dvb
- Patches should be created against v4l-dvb cvs
- Cf. instructions on How to build from CVS
- For references about how to develop a driver, take a look at Index of Documentation for People Interested in Writing and/or Understanding the Linux Kernel
How to get your changes into the mainline tree
- Post your patches to the video4linux mailing list for review and testing by other people.
- Subscription to the list is not required, but asked. If you desire, you should use:
- Follow the guidelines in Documentation/SubmittingPatches (cf. jgarzik's version), including:
- Be sure, that your new code satisfy rules described in Documentation/CodingStyle
- Send the patch inline, not as an attachment
- Use [PATCH] in the subject line to make it easy to be seen
- Explain what the patch does and what hardware it applies to
- Document your work where appropriate, in the form of patches to Documentation/video4linux files
- Add a Signed-off-by: Your name <name@yoursite.com> as a Developer's Certificate of Origin 1.1
- Fix any problems and repeat until everyone is happy ;)
- One CVS maintainer will apply at v4l-dvb tree.
- The V4L Maintainer will periodically submit changes to mainstream