projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b509d8
)
virtio_console: Use bool function return values of true/false not 1/0
author
Joe Perches
<joe@perches.com>
Mon, 30 Mar 2015 23:46:10 +0000
(16:46 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 14:15:30 +0000
(16:15 +0200)
Use the normal return values for bool functions
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/virtio_console.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/virtio_console.c
b/drivers/char/virtio_console.c
index 72d7028f779b55801795ef0fe49d9dda8cde7970..50754d2033100851b87f78d06401a3c5c137262d 100644
(file)
--- a/
drivers/char/virtio_console.c
+++ b/
drivers/char/virtio_console.c
@@
-355,7
+355,7
@@
static inline bool use_multiport(struct ports_device *portdev)
* early_init
*/
if (!portdev->vdev)
- return
0
;
+ return
false
;
return __virtio_test_bit(portdev->vdev, VIRTIO_CONSOLE_F_MULTIPORT);
}