Skip to contentSkip to conversation

doc: develop: Add a note about importing code from other projects

PATCH In review Tom Rini 2 participants 2 messages Aug 1, 2022

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 doc: develop: Add a note about importing code from other projects

We talk about importing code from other projects in two places. The first place is in the coding style section, where we explain when to or not to deviate in terms of white space, etc. In the process documentation we now add a note about saying where the code was imported from and to ensure that you do not copy Signed-off-by or other tags.

---
Given Sudeep's feedback just now on another series, it makes sense to note this in the documentation, for future reference.

---
 doc/develop/process.rst | 4 ++++
 1 file changed, 4 insertions(+)
doc/develop/process.rst +4 -0
index 0ef24e819982..388945cf9bb9 100644
@@ -139,6 +139,10 @@ like this:
    as the Linux kernel.  Following this and adding a ``Signed-off-by:`` line
    that contains the developer's name and email address is required.
 
+   * Please note that when importing code from other projects you must say
+     where it comes from, and what revision you are importing. You must not
+     however copy ``Signed-off-by`` or other tags.
+
 #. Everybody who can is invited to review and test the changes.  Typically, we
    follow the same guidelines as the Linux kernel for `Acked-by
    <https://www.kernel.org/doc/html/latest/process/submitting-patches.html#when-to-use-acked-by-cc-and-co-developed-by>`_
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Tom Rini

We talk about importing code from other projects in two places. The first place is in the coding style section, where we explain when to or not to deviate in terms of white space, etc. In the process documentation we now add a note about saying where the code was imported from and to ensure that you do not copy Signed-off-by or other tags.

---
Given Sudeep's feedback just now on another series, it makes sense to note this in the documentation, for future reference.

Thanks for the quick response in the form of patch. That is super fast and efficient 😄.

Signature · 2 lines
Regards,
Sudeep