diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-04 19:50:14 -0500 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2018-08-06 10:20:57 -0400 |
commit | bf06bad958c4536ee5ac3461a18976ea3e896f26 (patch) | |
tree | 410a0b7b7744e0081c17cf8206f1f2d0eb05a0bf | |
parent | 2789e83c933d7da583e592d7958e87493c889605 (diff) |
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 <gustavo@embeddedor.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
-rw-r--r-- | drivers/xen/biomerge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/biomerge.c b/drivers/xen/biomerge.c index 30d7f52eb7ca..55ed80c3a17c 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); |