From: Gustavo A. R. Silva Date: Sun, 5 Aug 2018 00:50:14 +0000 (-0500) Subject: xen/biomerge: Use true and false for boolean values X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bf06bad958c4536ee5ac3461a18976ea3e896f26;p=linux.git 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. Signed-off-by: Gustavo A. R. Silva Reviewed-by: Juergen Gross Signed-off-by: Boris Ostrovsky --- diff --git a/drivers/xen/biomerge.c b/drivers/xen/biomerge.c index 30d7f52eb7cad..55ed80c3a17c0 100644 --- a/drivers/xen/biomerge.c +++ b/drivers/xen/biomerge.c @@ -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);