Thread (13 messages) 13 messages, 3 authors, 2016-09-26

Re: ISDN-CAPI: Adjust 17 function calls together with variable assignments

flat view

From: SF Markus Elfring <hidden>
Date: 2016-09-26 12:29:55
Also in: kernel-janitors, lkml

quoted
The script "checkpatch.pl" can point out that assignments should usually
not be performed within condition checks.
Thus move the assignment for a variable to a separate statement
in four functions.
Did you recycle this commit explanation?
Yes. - I am going to use similar commit messages for further changes
in other software modules.

Because git diff tells me you actually touched about eight functions.
You are right. - I'm sorry that I overlooked to update this number somehow.

    scripts/checkpatch.pl -f drivers/isdn/capi/capidrv.c | grep "assignment in if condition" | wc -l 

It tells me there are actually 18 instances of this "ERROR".
Why did you ignore one of it in this patch?
Did I accidentally leave another update candidate over?

* How do you think about to pick such a software update opportunity up?

* Do you expect a resend for the steps 3 - 5 of this small patch series?

Regards,
Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help