xen/biomerge: Use true and false for boolean values
PATCH 1/1 xen/biomerge: Use true and false for boolean values
Return statements in functions returning bool should use true or false instead of an integer value.
This code was detected with the help of Coccinelle.
--- drivers/xen/biomerge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/biomerge.c +1 -1
@@ -17,7 +17,7 @@ bool xen_biovec_phys_mergeable(const struct bio_vec *vec1,* XXX: Add support for merging bio_vec when using different page * size in Xen and Linux. */ -return 0 ; +return false;#endif }EXPORT_SYMBOL (xen_biovec_phys_mergeable);
Signature · 1 line
2.7.4
Quoted 6 lines · Gustavo A. R. Silva
Return statements in functions returning bool should use true or false instead of an integer value.
This code was detected with the help of Coccinelle.
Signed-off-by Gustavo A. R. Silva <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 6 lines · Gustavo A. R. Silva
Return statements in functions returning bool should use true or false instead of an integer value.
This code was detected with the help of Coccinelle.
Signed-off-by Gustavo A. R. Silva <[email protected]>
Juergen
Quoted 10 lines · Juergen Gross
Quoted 6 lines · Gustavo A. R. Silva
Return statements in functions returning bool should use true or false instead of an integer value.
This code was detected with the help of Coccinelle.
Signed-off-by Gustavo A. R. Silva <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Thanks, Juergen.
--
Gustavo
Quoted 10 lines · Juergen Gross
Quoted 6 lines · Gustavo A. R. Silva
Return statements in functions returning bool should use true or false instead of an integer value.
This code was detected with the help of Coccinelle.
Signed-off-by Gustavo A. R. Silva <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Thanks, Juergen.
--
Gustavo
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Boris Ostrovsky
AppliedQuoted 8 lines · Juergen Gross
Quoted 6 lines · Gustavo A. R. Silva
Return statements in functions returning bool should use true or false instead of an integer value.
This code was detected with the help of Coccinelle.
Signed-off-by Gustavo A. R. Silva <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Thanks.
Applied to for-linus-4.19
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Boris Ostrovsky
AppliedQuoted 8 lines · Juergen Gross
Quoted 6 lines · Gustavo A. R. Silva
Return statements in functions returning bool should use true or false instead of an integer value.
This code was detected with the help of Coccinelle.
Signed-off-by Gustavo A. R. Silva <[email protected]>Reviewed-by Juergen Gross <[email protected]>
Thanks.
Applied to for-linus-4.19