From nobody Tue Jan 14 00:11:30 2025 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 4YX8gQ34fnz5l1Ys; Tue, 14 Jan 2025 00:11:30 +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 4YX8gQ2NgQz40Xw; Tue, 14 Jan 2025 00:11:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736813490; 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=08pLxRajbFc8ESxM0jljYbf39UV9CTGnOpVzKwqKBAc=; b=xUKH/rpU2LQV5FKdb39L4OvBltlHHzDyLcdnKIR5yn8JiSkIHNTt8SMHTaD3FfXkIFpayA 4C1UoZ338AQzYNlgIY+2dZND3+GnvUR0OWTTUO2sJh0MUJ/BM4bnACBrQax6vsuO6gUGcA BOB3LposwUryEzg6q8Ri4Zxjd9dXbMF7v9ATNbw8+385Y1VNXwvtzA9bpshc2lSt4iOu4C lXHrtODP43MoeBw+0zxxksh2yDu8m5dpKzJiR5hZrBpY6lCLvZ/7TCX9C0W0gS/Sf30wZf 9QR22dvnP+oLiHWib/7xQr2tjrWNNqN5NAiax8+yWXM48LtwDBmdAFYkUD261g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736813490; 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=08pLxRajbFc8ESxM0jljYbf39UV9CTGnOpVzKwqKBAc=; b=C8yJZqA+8cIoZxgqERfrSYlLsmo5LQFQfZAywYPBPcnqICBLSQrIrGVJZQZvqVZI5y2ItI 09PUy+lr0WVSyPI+zno+LnhLwLL0IcIPGnUmzN0kKMu2BMPamEPE1mE4iRPZuNfWocuevr o/jF7THqOCw1Bpp77D0O+wzl0SMm/ZkSyXan6/qJXSqBLDyWXdQSmsc6DsaFGJRhFAf9+C qndSD+hQja3TkS+oiUyUIoMWWbFuNH2TFkKePZPXI05r0TRiXazaljsXK7+PBXxZhSq2m6 Inv0d7X+UyaOXTyJ/fcCzdtSFeCukfrnmpg9w7hUV2AyTnnPM1vfZV/Rdo5hcA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736813490; a=rsa-sha256; cv=none; b=FYls8kuZKC9Ah8KcPiJdXHeDZSHRvjwUbyc/mNUragEfiF3GsohhAsGn/blSqxWqh5/Tb1 GR+ZtViCF4AXVKzjv0YkPXssJqQFit9MJD5OUIhm3mFYzAOw/lEzd2d2UlguGOsmJTi3yD 2dwgLXXC3zbypRO749kitMC1HNsUIOQ4ZT4WpQoa3Y3m7TPB7ARMYmV8nUX8hHDR8hdoQ6 IyfOi5ePDWFs96fVEM8sU3030JjV+56hIvTz+hCzmPIpr/nlm03Nj0kFsO0bFtIb96mogl xjnzyC+knbnQI/4ffMP9u4TR1pYAC7Apfn8V2LwYqXnQ0cNmCiHGOdEgqfzw5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YX8gQ1srwzsvP; Tue, 14 Jan 2025 00:11:30 +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 50E0BU5M078560; Tue, 14 Jan 2025 00:11:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50E0BUoH078557; Tue, 14 Jan 2025 00:11:30 GMT (envelope-from git) Date: Tue, 14 Jan 2025 00:11:30 GMT Message-Id: <202501140011.50E0BUoH078557@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Adrian Chadd Subject: git: f167ba73574a - main - rtwn: fix RTWN_RIDX_VHT_MCS() macro 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: adrian X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f167ba73574a3e1757dd95265aa0211cb16c365e Auto-Submitted: auto-generated The branch main has been updated by adrian: URL: https://cgit.FreeBSD.org/src/commit/?id=f167ba73574a3e1757dd95265aa0211cb16c365e commit f167ba73574a3e1757dd95265aa0211cb16c365e Author: Adrian Chadd AuthorDate: 2025-01-13 03:14:21 +0000 Commit: Adrian Chadd CommitDate: 2025-01-14 00:11:18 +0000 rtwn: fix RTWN_RIDX_VHT_MCS() macro Add parenthesis as appropriate. Oops! --- sys/dev/rtwn/if_rtwn_ridx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/rtwn/if_rtwn_ridx.h b/sys/dev/rtwn/if_rtwn_ridx.h index 0a1ea35303f1..616ba8d6d724 100644 --- a/sys/dev/rtwn/if_rtwn_ridx.h +++ b/sys/dev/rtwn/if_rtwn_ridx.h @@ -53,7 +53,7 @@ * goes from 44 -> 83. */ #define RTWN_RIDX_VHT_MCS_SHIFT 44 -#define RTWN_RIDX_VHT_MCS(s, i) (RTWN_RIDX_VHT_MCS_SHIFT + ((10*s) + i)) +#define RTWN_RIDX_VHT_MCS(s, i) (RTWN_RIDX_VHT_MCS_SHIFT + ((10*(s)) + (i))) /* * The total amount of rate indexes, CCK, OFDM, HT MCS0..31,