Skip to contentSkip to conversation

Documentation: submitting-patches: Disqualify style fixes from Fixes: tag

PATCH In review Bagas Sanjaya 5 participants 6 messages Mar 16, 2023 – Mar 17, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: submitting-patches: Disqualify style fixes from Fixes: tag

An interpretation of submitting-patches.rst regarding Fixes: tag interprets that the tag can be attributed to all kinds of issues (including coding style ones). However, from the discussion on Outreachy mailing list [1], Greg noted that the tag should not be meant for patches that fix coding style issues.

Clarify the position on the doc.

---
 Documentation/process/submitting-patches.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/process/submitting-patches.rst +3 -0
index 69ce64e03c70f8..564418e42ffc01 100644
@@ -568,6 +568,9 @@ process nor the requirement to Cc: [email protected] on all stable
 patch candidates. For more information, please read
 Documentation/process/stable-kernel-rules.rst.
 
+Note: Fixes: tag is appropriate only for real issues (e.g. reported bugs
+or compiler warnings). Coding style fixes should not bear this tag.
+
 .. _the_canonical_patch_format:
 
 The canonical patch format

base-commit: 6015b1aca1a233379625385feb01dd014aca60b5

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#1 lore raw
Quoted 19 lines · Bagas Sanjaya

An interpretation of submitting-patches.rst regarding Fixes: tag interprets that the tag can be attributed to all kinds of issues (including coding style ones). However, from the discussion on Outreachy mailing list [1], Greg noted that the tag should not be meant for patches that fix coding style issues.

Clarify the position on the doc.

---
 Documentation/process/submitting-patches.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/process/submitting-patches.rst +0 -0
index 69ce64e03c70f8..564418e42ffc01 100644

Documentation/process/submitting-patches.rst process nor the requirement to Cc: [email protected] on all stable · line 572

Quoted 5 lines
Documentation/process/submitting-patches.rst +2 -0
@@ -568,6 +568,9 @@ process nor the requirement to Cc: [email protected] on all stable
 patch candidates. For more information, please read
 Documentation/process/stable-kernel-rules.rst.
 
+Note: Fixes: tag is appropriate only for real issues (e.g. reported bugs
+or compiler warnings). Coding style fixes should not bear this tag.

I think it is pretty clear already. The doc says:
"If your patch fixes a bug in a specific commit,"

and you are now repeating this.

Coding style is not a bug, but that's obvious.

Best regards,
Krzysztof

#2 lore raw
Quoted 29 lines · Krzysztof Kozlowski
Quoted 19 lines · Bagas Sanjaya

An interpretation of submitting-patches.rst regarding Fixes: tag interprets that the tag can be attributed to all kinds of issues (including coding style ones). However, from the discussion on Outreachy mailing list [1], Greg noted that the tag should not be meant for patches that fix coding style issues.

Clarify the position on the doc.

---
 Documentation/process/submitting-patches.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/process/submitting-patches.rst +0 -0
index 69ce64e03c70f8..564418e42ffc01 100644

Documentation/process/submitting-patches.rst process nor the requirement to Cc: [email protected] on all stable · line 572

Quoted 5 lines
Documentation/process/submitting-patches.rst +2 -0
@@ -568,6 +568,9 @@ process nor the requirement to Cc: [email protected] on all stable
 patch candidates. For more information, please read
 Documentation/process/stable-kernel-rules.rst.
 
+Note: Fixes: tag is appropriate only for real issues (e.g. reported bugs
+or compiler warnings). Coding style fixes should not bear this tag.

I think it is pretty clear already. The doc says:
"If your patch fixes a bug in a specific commit,"

Quoted 3 lines

and you are now repeating this.

Coding style is not a bug, but that's obvious.

I agree, let's not make this file even longer than it is if at all possible.

thanks,

greg k-h

#3 lore raw
Quoted 5 lines · Greg KH
Quoted 1 line

Coding style is not a bug, but that's obvious.

I agree, let's not make this file even longer than it is if at all possible.

I've actually been wondering if there is some way to split the file since it's quite large already. It's been unclear to me whether that would make it easier or harder to find stuff though. :-/

- Ted

maintainer
#4 lore raw
Quoted 10 lines · Theodore Ts'o
Quoted 5 lines · Greg KH
Quoted 1 line

Coding style is not a bug, but that's obvious.

I agree, let's not make this file even longer than it is if at all possible.

I've actually been wondering if there is some way to split the file since it's quite large already. It's been unclear to me whether that would make it easier or harder to find stuff though. :-/

I made a pass over it a few years ago and managed to shorten it a fair amount, but it clearly still needs attention. This is one of our most important and heavily referenced documents, and it would be nice if newcomers didn't feel like they were being asked to read a version of War and Peace written by Kafka before they can contribute.

I'll try to find time to think about this some.

jon

#5 lore raw
In reply to Krzysztof Kozlowski
Quoted 3 lines · Krzysztof Kozlowski

I think it is pretty clear already. The doc says:
"If your patch fixes a bug in a specific commit,"

Oops, I don't see the whole file before writing this patch. Thanks anyway!

Signature · 1 line
An old man doll... just what I always wanted! - Clara