Doubts Regaarding the checkpatch.pl
In checkpatch.pl tool only considers those patch which fixes the warning and errors. Those patch fixes the CHECK using checkpatch.pl tool. It is considered in the patch or not?
Quoted 2 lines · Anchal Jain
In checkpatch.pl tool only considers those patch which fixes the warning and errors.
What do you mean by this?
Quoted 2 lines
Those patch fixes the CHECK using checkpatch.pl tool. It is considered in the patch or not?
I'm sorry, but I can not parse this, can you rephrase it?
thanks,
gre gk-h
Quoted 1 line
I'm sorry, but I can not parse this, can you rephrase it?
When we run checkpatch.pl on our staging directory then it shows
- Errors
- Warnings
- Checks
So I want to know if we solve the check using checkpatch.pl tool then it is consider in our patches
or Only those checks is consider which is solved using *cocci* script because this script also fixes those
checks
Thanks,
Quoted 15 lines · Greg KH
Quoted 2 lines · Anchal Jain
In checkpatch.pl tool only considers those patch which fixes the warning and errors.
What do you mean by this?
Quoted 2 lines
Those patch fixes the CHECK using checkpatch.pl tool. It is considered in the patch or not?
I'm sorry, but I can not parse this, can you rephrase it?
thanks,
gre gk-h
Quoted 8 lines · Anchal Jain
Quoted 2 lines
I'm sorry, but I can not parse this, can you rephrase it?
When we run checkpatch.pl on our staging directory then it shows
- Errors
- Warnings
- Checks
Quoted 5 lines
So I want to know if we solve the check using checkpatch.pl tool then it is consider in our patches
or Only those checks is consider which is solved using cocci script because this script also fixes those
checks
Can you give a real example for the CHECK? :)
Quoted 1 line
Can you give a real example for the CHECK? :)
like this
CHECK: Unnecessary parentheses around padapter->mlmeextpriv
CHECK: Please don't use multiple blank lines
CHECK: Unnecessary parentheses around pstapriv->sta_hash_lock
CHECK: Unnecessary parentheses around pstapriv->sta_hash_lock
CHECK: Unnecessary parentheses around pmlmeext->mlmext_info
CHECK: Concatenated strings should use spaces between elements
Thanks,
Quoted 19 lines · Daniel Baluta
Quoted 9 lines · Anchal Jain
Quoted 2 lines
I'm sorry, but I can not parse this, can you rephrase it?
When we run checkpatch.pl on our staging directory then it shows
- Errors
- Warnings
- ChecksSo I want to know if we solve the check using checkpatch.pl tool then
it is
Quoted 2 lines
consider in our patches
or Only those checks is consider which is solved using cocci scriptbecause
Quoted 2 lines
this script also fixes those
checksCan you give a real example for the CHECK? :)
Quoted 12 lines · Anchal Jain
Quoted 1 line
Can you give a real example for the CHECK? :)
like this
CHECK: Unnecessary parentheses around
padapter->mlmeextpriv
CHECK: Please don't use multiple blank lines
CHECK: Unnecessary parentheses aroundpstapriv->sta_hash_lock
CHECK: Unnecessary parentheses aroundpstapriv->sta_hash_lock
CHECK: Unnecessary parentheses aroundpmlmeext->mlmext_info
CHECK: Concatenated strings should use spaces between elements
Quoted 21 lines
Thanks,
Quoted 16 lines · Daniel Baluta
Quoted 9 lines · Anchal Jain
Quoted 2 lines
I'm sorry, but I can not parse this, can you rephrase it?
When we run checkpatch.pl on our staging directory then it shows
- Errors
- Warnings
- ChecksSo I want to know if we solve the check using checkpatch.pl tool then
it is
Quoted 2 lines
consider in our patches
or Only those checks is consider which is solved using cocci scriptbecause
Quoted 2 lines
this script also fixes those
checks
Here's my take, let me know if I got the question right?
Sometime the cocci script identifies and maybe also corrects (if you are using the patch option) issues that were also found by checkpatch. So, the question perhaps is which tool you would mention in your log message?
I'd say both. You would say the issue was found and fixed with coccinelle and also corrects checkpatch issue: ....
Or, maybe I don't have the question right ;)
alisons
Quoted 10 lines
Quoted 3 lines
Can you give a real example for the CHECK? :)
Signature · 5 lines
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/CAAbeOSsVJn8Ed9B%2Bacg1BRXRnmixDouk9z1ijGy5LnU2isSz1w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Quoted 3 lines
Here's my take, let me know if I got the question right?
Sometime the cocci script identifies and maybe also corrects (if you are
using
Quoted 7 lines
the patch option) issues that were also found by checkpatch. So, the question perhaps is which tool you would mention in your log message?
I'd say both. You would say the issue was found and fixed with coccinelle and also corrects checkpatch issue: ....
Or, maybe I don't have the question right ;)
Yes, you are correct I am trying to ask that thing.
Thank you :-)
Quoted 74 lines · Alison Schofield
Quoted 19 lines · Anchal Jain
Quoted 1 line
Can you give a real example for the CHECK? :)
like this
CHECK: Unnecessary parentheses around
padapter->mlmeextpriv
CHECK: Please don't use multiple blank lines
CHECK: Unnecessary parentheses aroundpstapriv->sta_hash_lock
CHECK: Unnecessary parentheses aroundpstapriv->sta_hash_lock
CHECK: Unnecessary parentheses aroundpmlmeext->mlmext_info
CHECK: Concatenated strings should use spaces between elementsThanks,
On Thu, Sep 15, 2016 at 10:44 PM, Daniel Baluta <[email protected]
Quoted 1 line · wrote:
On Thu, Sep 15, 2016 at 7:53 PM, Anchal Jain <[email protected]>
Quoted 9 lines · wrote:
Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
I'm sorry, but I can not parse this, can you rephrase it?
When we run checkpatch.pl on our staging directory then it shows
- Errors
- Warnings
- ChecksSo I want to know if we solve the check using checkpatch.pl tool
then
Quoted 6 lines
Quoted 6 lines
it is
Quoted 2 lines
consider in our patches
or Only those checks is consider which is solved using cocci scriptbecause
Quoted 2 lines
this script also fixes those
checksHere's my take, let me know if I got the question right?
Sometime the cocci script identifies and maybe also corrects (if you are using
the patch option) issues that were also found by checkpatch. So, the question perhaps is which tool you would mention in your log message?I'd say both. You would say the issue was found and fixed with coccinelle and also corrects checkpatch issue: ....
Or, maybe I don't have the question right ;)
alisons
Quoted 6 lines
Quoted 3 lines
Can you give a real example for the CHECK? :)
--
You received this message because you are subscribed to the GoogleGroups "outreachy-kernel" group.
Quoted 1 line
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
Quoted 2 lines
To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/
msgid/outreachy-kernel/CAAbeOSsVJn8Ed9B%2Bacg1BRXRnmixDouk9z1ijGy5LnU2 isSz1w%40mail.gmail.com.
Quoted 1 line
For more options, visit https://groups.google.com/d/optout.