Commit b5247c85 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

Documentation/SubmitChecklist: add rule #1

Add header file requirements.  Compliments of Stephen Rothwell.

Stephen calls this Rule #1, so I put it there, but I didn't want to demote
any of the others in the list, so I made one of them number 2b.
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 70bace8c
...@@ -9,10 +9,14 @@ Documentation/SubmittingPatches and elsewhere regarding submitting Linux ...@@ -9,10 +9,14 @@ Documentation/SubmittingPatches and elsewhere regarding submitting Linux
kernel patches. kernel patches.
1: Builds cleanly with applicable or modified CONFIG options =y, =m, and 1: If you use a facility then #include the file that defines/declares
that facility. Don't depend on other header files pulling in ones
that you use.
2: Builds cleanly with applicable or modified CONFIG options =y, =m, and
=n. No gcc warnings/errors, no linker warnings/errors. =n. No gcc warnings/errors, no linker warnings/errors.
2: Passes allnoconfig, allmodconfig 2b: Passes allnoconfig, allmodconfig
3: Builds on multiple CPU architectures by using local cross-compile tools 3: Builds on multiple CPU architectures by using local cross-compile tools
or some other build farm. or some other build farm.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment