From nobody Fri Oct 25 18:19:56 2024 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 4XZrfh3M0qz5b1Yx; Fri, 25 Oct 2024 18:19:56 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XZrfh2rnTz4XdS; Fri, 25 Oct 2024 18:19:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729880396; 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=HzQ0F6Gt+9vLwLWoP+RaZoJfacuxlVlr5abygAaR5RE=; b=Qcw3BT+nPkl0rng8qrbMwOdvg7K+GA8vNSWGpuYtIUpqIajoKvdl/Xw88KbXI9Gbsoplz5 LWFGHyolCP/71etj/SSv9xXsg+Fh0CX+1i7RwRzyG84nmzuvIHiZe4THvC2qf0th44OeMW dYAf7gvTkDDgXxHhZTECLg+KGNPVwvt+9hUmtH0mVXpGElQC+NZ2J3lxMPnRycZvkur3TJ 129pepoVF5Wn4UVKHdIW01PFiYM1bUNsjiuAcKUIsx4HNOJiV8yQaVZTQobmUCB2FomBbH QQ1KJ0uf33I31pp8TI9FN3RzIHwRKR1/KkjiCmeX5skIOmZXv+YOO5Hylm1Mxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729880396; 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=HzQ0F6Gt+9vLwLWoP+RaZoJfacuxlVlr5abygAaR5RE=; b=l30uxFXaEZwwbSWylzwMMC0n9oDtdHsbkxplcW5yRa/jCMAm+acpu/E11XNg0Gqw17ogPL 6pYHwYakTOIzHHMPvsEcW3urNVc9HF0jn/NvxNosqv3FmDixM2dhRqFdYCfuP9SMPp0Lpe HRl7Y58ERtFr2cEgL6KsJqNY5bZYe37348TwBjeKtcBvzw0DGdgCjplO6klpvaDAo5EN02 oLhpz0yQijCxQGcfj+iUNg69NpMFghlw3UtkDEuXAPjJPZSmqMZwBalMfxJeqxoNCA0qD+ mo7RphxvBCg/HN8VQU2KvhJMtMrUQiY2qPG1uk4VC4G8WqywXGOtKBKGBul7hQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729880396; a=rsa-sha256; cv=none; b=blIryDt2cmBH7D9yKmOrsj4W8qTYzHFfo6HUfeVuxbbIEtp+9gwYhtBAsXmn0AIHYJMp/H 531sa+HwXkX8puAt/C+bvLnDV4e7tp5uIyCOqShFG4rKNtUVoIIqKu3PSaYFRezA38YvEX DaBYVFSrujRmdqIFy0YS7mhZ+TW+B3A9t/BKGIRO/Wzg3dVJ3Xchr6ihgrhsckgIR1o912 oYY/QxrZ3L5UwRoP11RFEvc9ez6RypnsHMPuXtqt6oREgUseQffPZsVWy84bSnCvd9gdHS p/l2tOA7z19NyLinfY+zqyFh659GCw2xLQa1gSP512ahKUy+DhUx1vKk6CLF1Q== 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 4XZrfh2L6Pzcc1; Fri, 25 Oct 2024 18:19:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49PIJuVf087194; Fri, 25 Oct 2024 18:19:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49PIJuBn087191; Fri, 25 Oct 2024 18:19:56 GMT (envelope-from git) Date: Fri, 25 Oct 2024 18:19:56 GMT Message-Id: <202410251819.49PIJuBn087191@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: f86e328d324d - main - p9fs: Fix whitespace in request tag handling functions 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f86e328d324d4d67ab4db4a89ef6239c8978bb87 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=f86e328d324d4d67ab4db4a89ef6239c8978bb87 commit f86e328d324d4d67ab4db4a89ef6239c8978bb87 Author: Mark Johnston AuthorDate: 2024-10-25 17:50:37 +0000 Commit: Mark Johnston CommitDate: 2024-10-25 17:50:37 +0000 p9fs: Fix whitespace in request tag handling functions No functional change intended. Sponsored by: Klara, Inc. --- sys/fs/p9fs/p9_client.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sys/fs/p9fs/p9_client.c b/sys/fs/p9fs/p9_client.c index 8f36cc4e775a..45d24870306c 100644 --- a/sys/fs/p9fs/p9_client.c +++ b/sys/fs/p9fs/p9_client.c @@ -380,16 +380,16 @@ out: uint16_t p9_tag_create(struct p9_client *clnt) { - int tag; + int tag; - tag = alloc_unr(&clnt->tagpool); - P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); + tag = alloc_unr(&clnt->tagpool); + P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); - /* Alloc_unr returning -1 is an error for no units left */ - if (tag == -1) { - return (P9_NOTAG); - } - return (tag); + /* Alloc_unr returning -1 is an error for no units left */ + if (tag == -1) { + return (P9_NOTAG); + } + return (tag); } /* Clean up tag structures */ @@ -397,10 +397,10 @@ void p9_tag_destroy(struct p9_client *clnt, uint16_t tag) { - P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); + P9_DEBUG(LPROTO, "%s: clnt %p: tag %d\n", __func__, clnt, tag); - /* Release to the pool */ - free_unr(&clnt->tagpool, tag); + /* Release to the pool */ + free_unr(&clnt->tagpool, tag); } /* Allocate a new fid from the fidpool */