From nobody Tue Oct 04 11:53:03 2022 X-Original-To: dev-commits-src-main@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 4MhbgM5p3Qz4dgs6; Tue, 4 Oct 2022 11:53:03 +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 4MhbgM4vtKz3Vtv; Tue, 4 Oct 2022 11:53:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664884383; 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=4yuEwmcSNj6So2yJzo8zGIikLbV+D/psKIXeO1nJ9lE=; b=aeLYyOJQd1ZakU7vq6fiBCG4un7pG/sQLwGN+3K6gFDDG8GDDl+SLbIxWyQRwxigGok4tu 8nq9SqLAkcKYAjTa/lXPG4N4JfV3wgp216yuvfB0euWi5XyLSvvn4aTRQee4aviKQR+IKu i+HoySwBofeqQEVKBctmrbUC+V43ywhIkZsBFZgrRRQHZDesGrN1LY8+da9bMy+IonIY/F RczD/JlK+VlifFJpm1wnahMH0pTiiZ2HK6vtZnFdrHEzAfGOAhCeSkip/yesJ4HgEtkZX4 pD+1Qh1h6kOi2X6jCA0XTOrxpV8d6ao05hpGCjvuyKyobw1p5nJu8ed75s1Nmg== 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 4MhbgM3xxfzYj6; Tue, 4 Oct 2022 11:53:03 +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 294Br3kx011527; Tue, 4 Oct 2022 11:53:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 294Br3gV011526; Tue, 4 Oct 2022 11:53:03 GMT (envelope-from git) Date: Tue, 4 Oct 2022 11:53:03 GMT Message-Id: <202210041153.294Br3gV011526@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: 2ae08612424e - main - cuse(3): Cosmetic change about testing boolean values. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 2ae08612424eda47e099096f1f5719891c6d4711 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664884383; 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=4yuEwmcSNj6So2yJzo8zGIikLbV+D/psKIXeO1nJ9lE=; b=rSeJ9uswOTN3vDXX/7u5O2MvQSCzBI5/2MCqkaZRHL+7mNkSOMKbmBGPNAhT3NdIMft57c r8BXnILsVeRdWqN4QM6Q/T9iQrmJcjggawzO0RvXcFvlluWUBxtbgw1k98TmgpIHxXEWkt GCv7/KBYiV/01vFwtKUsKX7CjfdML5QfQJg1DsdIutO/+q0egO3S0SlphEtp2W+R0V/a6o nLnjDQy9OgRIBYb7P6iR3n9J4u7YF1DouNfCgwTFpfwzcWwOsbpBcRHcHozKmTzsmeKPmZ JrKWRQuo+AcH09qlkEKjxjC6KpuxlUeg8dyk50NjOMHWh0ijW3KE+Yi1LKxFCQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664884383; a=rsa-sha256; cv=none; b=WYbJQK3Y8Wk6obDOQBnNoEwQXGQcBOV2yoVinrVoBtqra1Q2K9PCtXXG8/1s50JLT0FjFs KqpEkFBciqULKXmK2sX/8KooyXloKXVTpwrqWkCQemMyyWWo/ROqTV5QUdY03KlGDyAWOX KB6877rbvBaOnQ3fIddwjMRaWDbtwdjqM/eBSBP79cft9st6Wvirgf9TCDiXpGQLLqa3h4 6e4xZVSm+cEsfwZigxdP5nwsh393V8ZbophWzP0Fxjk8RzAo9XPXtPZdiIt/QH5gzuHXle dP3rYWbZEQ4zNk8YC1T6SBday0EZPZer51dVzUII63rsErhNSKZjqkOzkgphOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=2ae08612424eda47e099096f1f5719891c6d4711 commit 2ae08612424eda47e099096f1f5719891c6d4711 Author: Hans Petter Selasky AuthorDate: 2022-10-04 10:31:51 +0000 Commit: Hans Petter Selasky 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,