From nobody Wed Oct 12 15:54:13 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mncdy0VHsz4fd3N; Wed, 12 Oct 2022 15:54:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mncdx6hW7z3GgN; Wed, 12 Oct 2022 15:54:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665590054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YexxrMcZnv73l0ie8OgVCYBi/4/2hLFRJPS4Ed4sP50=; b=siLS5AKAzL/e5en6PA2lKH/5+4n/2aTopKpgb0TLY6rnAzzpPRRS58xLF1XKWA1H5i1Eur S5pbyOmU4lJYPr6HAw7Echt6LvAm5XGr+Tv6ZHoZnQyMey81Y+HyMl/5Oh2k6DnxiZXZZz 8ZbhgZJwo392N4sx+7n1vmMYD4otFumjT5xrp8+Ap4jqh9WlQFXwQcEyh+NHyrUFMa+uLh BpioWHlpcAbc2wZ+ndfg0LrvhxHR6yM7R0ba9fBaJdC9SMMOQOKeeWUkCOeC5WsFDnLwLn HrbVWdcsp2ka+Rsmz0eitk+kA61/GYwAXrqYWhj6gzsqsCZrbHBd2fbEaLhWZw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mncdx5nzFz1MJh; Wed, 12 Oct 2022 15:54:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29CFsDK5043782; Wed, 12 Oct 2022 15:54:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29CFsDQr043781; Wed, 12 Oct 2022 15:54:13 GMT (envelope-from git) Date: Wed, 12 Oct 2022 15:54:13 GMT Message-Id: <202210121554.29CFsDQr043781@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Hans Petter Selasky Subject: git: e3834c99ca43 - stable/13 - cuse(3): Cosmetic change about testing boolean values. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e3834c99ca434b40d0a7664c774e9279cb6a1439 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665590054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YexxrMcZnv73l0ie8OgVCYBi/4/2hLFRJPS4Ed4sP50=; b=ynxjV/VsQ6oq9xRBNLd/ugxaf7FY+V3EGVvfuCRobnHE5oH3cfJiVEUbwCVitg2f9WL08M NbZVOKU6CIE+Dv/U8Qj74gO0oeCJgAVdzojNW46WGR8W8C/olMDAfd27bA7vsaHl7fd/6/ eZE3t4D7ykgDFLBYmKrTdwuT6leDdOcixv7Z/EZhsno89rrXu2h6VFykngSzuWFWulCXwS AnoXJzTMs83fSGs9kN82q2nDrf4AbbMxpMvN18V2UWu2jgNQW7HVCnqi+wjHze98MNe+cU 57UkK2mp2Y9zqY7hTQZcPGjPzXWRymj5f+d8OrsKdNYc08259Pk8W1i7TONRDQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665590054; a=rsa-sha256; cv=none; b=IEwNQSlr6Nt+MQFHhiDqou7EBaFCgv1YVGilFBeLKZZhVbngbfAChnUkanCRKyHnA2FbY7 Fxf7OTX4Gz78b3th6ZN/Y4kKjiQ2BQRatgaxiUN/4+8Kc3inskczi+iPnPkiQpy4xY5Ald x06ovYijdzr33AmBZ5/TqMFFFkwtNdgrpM5cjgt1s3cFamZ5RrWe1qID26QIlgqRCwkuQz hOBYzL+5WGilK2OZlkFUyEygVQRuGy3QgGpNlaKYvnHc5feVvy9ALScJ0rYWDjHpi/nDv+ 3QAmTuvZei3HM6MsQuR9754szIfnUPaEW+T/49Ynt0Yo0cHEboa4Bvkh9MsvNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=e3834c99ca434b40d0a7664c774e9279cb6a1439 commit e3834c99ca434b40d0a7664c774e9279cb6a1439 Author: Hans Petter Selasky AuthorDate: 2022-10-04 10:31:51 +0000 Commit: Hans Petter Selasky CommitDate: 2022-10-12 15:53:21 +0000 cuse(3): Cosmetic change about testing boolean values. No functional change intended. Suggested by: jrtc27@ and avg@ Sponsored by: NVIDIA Networking Differential Revision: https://reviews.freebsd.org/D36633 (cherry picked from commit 2ae08612424eda47e099096f1f5719891c6d4711) --- 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,