diff options
Diffstat (limited to 'Documentation/SubmitChecklist')
| -rw-r--r-- | Documentation/SubmitChecklist | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Documentation/SubmitChecklist b/Documentation/SubmitChecklist index 78a9168ff377..8916ca48bc95 100644 --- a/Documentation/SubmitChecklist +++ b/Documentation/SubmitChecklist | |||
| @@ -9,13 +9,17 @@ Documentation/SubmittingPatches and elsewhere regarding submitting Linux | |||
| 9 | kernel patches. | 9 | kernel patches. |
| 10 | 10 | ||
| 11 | 11 | ||
| 12 | 1: Builds cleanly with applicable or modified CONFIG options =y, =m, and | 12 | 1: If you use a facility then #include the file that defines/declares |
| 13 | that facility. Don't depend on other header files pulling in ones | ||
| 14 | that you use. | ||
| 15 | |||
| 16 | 2: Builds cleanly with applicable or modified CONFIG options =y, =m, and | ||
| 13 | =n. No gcc warnings/errors, no linker warnings/errors. | 17 | =n. No gcc warnings/errors, no linker warnings/errors. |
| 14 | 18 | ||
| 15 | 2: Passes allnoconfig, allmodconfig | 19 | 2b: Passes allnoconfig, allmodconfig |
| 16 | 20 | ||
| 17 | 3: Builds on multiple CPU architectures by using local cross-compile tools | 21 | 3: Builds on multiple CPU architectures by using local cross-compile tools |
| 18 | or something like PLM at OSDL. | 22 | or some other build farm. |
| 19 | 23 | ||
| 20 | 4: ppc64 is a good architecture for cross-compilation checking because it | 24 | 4: ppc64 is a good architecture for cross-compilation checking because it |
| 21 | tends to use `unsigned long' for 64-bit quantities. | 25 | tends to use `unsigned long' for 64-bit quantities. |
| @@ -88,3 +92,6 @@ kernel patches. | |||
| 88 | 92 | ||
| 89 | 24: All memory barriers {e.g., barrier(), rmb(), wmb()} need a comment in the | 93 | 24: All memory barriers {e.g., barrier(), rmb(), wmb()} need a comment in the |
| 90 | source code that explains the logic of what they are doing and why. | 94 | source code that explains the logic of what they are doing and why. |
| 95 | |||
| 96 | 25: If any ioctl's are added by the patch, then also update | ||
| 97 | Documentation/ioctl/ioctl-number.txt. | ||
