Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2022 11:53:03 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2ae08612424e - main - cuse(3): Cosmetic change about testing boolean values.
Message-ID:  <202210041153.294Br3gV011526@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=2ae08612424eda47e099096f1f5719891c6d4711

commit 2ae08612424eda47e099096f1f5719891c6d4711
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-10-04 10:31:51 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-10-04 11:51:06 +0000

    cuse(3): Cosmetic change about testing boolean values.
    
    No functional change intended.
    
    Differential Revision:  https://reviews.freebsd.org/D36633
    Suggested by:   jrtc27@ and avg@
    MFC after:      1 week
    Sponsored by:   NVIDIA Networking
---
 sys/fs/cuse/cuse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/fs/cuse/cuse.c b/sys/fs/cuse/cuse.c
index 41f8bdbe2bfe..566f463da22a 100644
--- a/sys/fs/cuse/cuse.c
+++ b/sys/fs/cuse/cuse.c
@@ -866,7 +866,7 @@ cuse_server_ioctl_copy_locked(struct cuse_server *pcs,
 
 	cuse_server_unlock(pcs);
 
-	if (isread == false) {
+	if (!isread) {
 		error = copyin(
 		    (void *)pchk->local_ptr,
 		    pccmd->client->ioctl_buffer + offset,
@@ -961,7 +961,7 @@ cuse_server_data_copy_locked(struct cuse_server *pcs,
 
 	cuse_server_unlock(pcs);
 
-	if (isread == false) {
+	if (!isread) {
 		error = cuse_proc2proc_copy(
 		    curthread->td_proc, pchk->local_ptr,
 		    p_proc, pchk->peer_ptr,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210041153.294Br3gV011526>