From: Gustavo A. R. Silva <hidden> Date: 2018-01-18 23:57:19
Return statements in functions returning bool should use
true/false instead of 1/0.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <redacted>
---
net/smc/smc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
On 01/19/2018 12:33 AM, Gustavo A. R. Silva wrote:
quoted hunk
Return statements in functions returning bool should use
true/false instead of 1/0.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <redacted>
---
net/smc/smc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Gustavo,
thanks for reporting, but your improvement seems to be incomplete. Besides changing
line 260 of net/smc/smc.h, line 255 should be adapted the same way. Will you
come up with a second patch version here?
Kind regards, Ursula Braun
From: Gustavo A. R. Silva <hidden> Date: 2018-01-19 21:09:53
Hi Ursula,
Quoting Ursula Braun [off-list ref]:
On 01/19/2018 12:33 AM, Gustavo A. R. Silva wrote:
quoted
Return statements in functions returning bool should use
true/false instead of 1/0.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <redacted>
---
net/smc/smc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Gustavo,
thanks for reporting, but your improvement seems to be incomplete.
Besides changing
line 260 of net/smc/smc.h, line 255 should be adapted the same way. Will you
come up with a second patch version here?
You are correct. I'll send a new patch shortly.
Thanks for the feedback.
--
Gustavo