checkpatch: add fixes for BAD_SIGN_OFF
Quoted 8 lines · Lukas Bulwahn
Quoted 3 lines
1) WARNING:BAD_SIGN_OFF: Co-developed-by: should not be used to attribute nominal patch author '"Zhang, Jun" <[email protected]>'
I think the fix here might be to drop the Co-developed-by: line, right?
Can you confirm this fix on your evaluation?
Yes, we will drop the Co-developed-by line for the author. As he has already signed off for the patch, co-developed doesn't make sense.
Quoted 5 lines
Quoted 4 lines
2) WARNING:BAD_SIGN_OFF: email address '"Matthew Wilcox (Oracle)" <[email protected]>' might be better as 'Matthew Wilcox (Oracle) <[email protected]>'
Quoted 7 lines
I think Dwaipayan and Joe are discussing the proper handling of quotes. I suggest to understand the resolution that Dwaipayan and Joe
are working out before thinking about a fix for this option. They might decide that only a few specific cases should be warned about or not at all in case of quote mismatches.
Alright, I'll omit this one for now.
Quoted 7 lines
Quoted 3 lines
3) WARNING:BAD_SIGN_OFF: Duplicate signature
etc.I do not see the fix option for this case 3; the duplicate signatures are mostly due to the integration Signed-off-by trail.
Sir, mostly the duplicate signatures are occurring when the user signs off 2 or more times for the same role. For eg,
For the commit 6dd47d9754ff ("mac80211: fix ieee80211_txq_setup_flows() failure path"), we get
WARNING:BAD_SIGN_OFF: Duplicate signature
#16:
as the user has used 'Signed-off-by' line 2 times. The fix for this can be to remove the repeated line, similar to co-developed-by one we're doing for the (1) case.
Thanks
Aditya
_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees
Quoted 44 lines · Aditya
Quoted 8 lines · Lukas Bulwahn
Quoted 3 lines
1) WARNING:BAD_SIGN_OFF: Co-developed-by: should not be used to attribute nominal patch author '"Zhang, Jun" <[email protected]>'
I think the fix here might be to drop the Co-developed-by: line, right?
Can you confirm this fix on your evaluation?Yes, we will drop the Co-developed-by line for the author. As he has already signed off for the patch, co-developed doesn't make sense.
Quoted 5 lines
Quoted 4 lines
2) WARNING:BAD_SIGN_OFF: email address '"Matthew Wilcox (Oracle)" <[email protected]>' might be better as 'Matthew Wilcox (Oracle) <[email protected]>'
Quoted 7 lines
I think Dwaipayan and Joe are discussing the proper handling of quotes. I suggest to understand the resolution that Dwaipayan and Joe
are working out before thinking about a fix for this option. They might decide that only a few specific cases should be warned about or not at all in case of quote mismatches.Alright, I'll omit this one for now.
Quoted 7 lines
Quoted 3 lines
3) WARNING:BAD_SIGN_OFF: Duplicate signature
etc.I do not see the fix option for this case 3; the duplicate signatures are mostly due to the integration Signed-off-by trail.
Sir, mostly the duplicate signatures are occurring when the user signs off 2 or more times for the same role. For eg,
For the commit
6dd47d9754ff("mac80211: fixieee80211_txq_setup_flows()failure path"), we get
Quoted 8 lines
WARNING:BAD_SIGN_OFF: Duplicate signature
#16:Signed-off-by Johannes Berg <[email protected]>as the user has used 'Signed-off-by' line 2 times. The fix for this can be to remove the repeated line, similar to co-developed-by one we're doing for the (1) case.
Bad example here as in many others probably as well. Johannes signed off in two different roles, once as author and once as maintainer (integrating it into the kernel tree).
It is NOT recommended to simply delete the second sign-off.
Lukas
_______________________________________________
Linux-kernel-mentees mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees