User Tools

Site Tools


en:developers:documentation:submittingpatches

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
en:developers:documentation:submittingpatches [2021/02/12 08:22]
Johannes Berg
en:developers:documentation:submittingpatches [2021/07/28 15:17]
Kalle Valo [New driver] add some guidelines for new driver review
Line 192: Line 192:
 There'​s also a list of [[https://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​torvalds/​linux.git/​tree/​LICENSES/​preferred|preferred licenses]] available. There'​s also a list of [[https://​git.kernel.org/​pub/​scm/​linux/​kernel/​git/​torvalds/​linux.git/​tree/​LICENSES/​preferred|preferred licenses]] available.
  
 +Some guidelines to speed up new driver review:
 +
 +  * keep the driver small and simple, more features can be added after the driver is accepted upstream
 +  * use clean understandable code
 +  * use generic kernel frameworks instead of reinventing the wheel
 +  * use generic user space interfaces
 +    * no driver specific user interfaces or hacks
 +    * no .ini style driver configuration files
 +  * avoid using debugfs or nl80211 vendor interfaces
 ===== Examples of a patches ===== ===== Examples of a patches =====
  
en/developers/documentation/submittingpatches.txt ยท Last modified: 2024/02/01 20:12 by Jeff Johnson