Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/reference/patch-acceptance-criteria.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,24 @@ Patch does not apply
The patch should always be based on a recent kernel. Expect to resubmit
again if the tip changes and the patch has conflicts.

Patch fails upstream checks
^^^^^^^^^^^^^^^^^^^^^^^^^^^

Patches are expected to pass the upstream kernel patch tools provided with the
kernel source tree. A patch that fails these checks will be rejected.

Before you submit, do the following:

- Read ``Documentation/process/submitting-patches.rst`` for the upstream
patch submission guidelines.
- Run ``scripts/checkpatch.pl`` against a generated patch to catch style
and formatting problems.
- Run ``scripts/cleanpatch`` if the patch needs to be cleaned before
submission.
- Run ``scripts/cleanfile`` on a new file before you create the patch.
- Run ``scripts/Lindent`` if a file needs to follow the kernel indentation
style.

SRU patches
-----------

Expand Down
Loading