From nobody Wed Oct 12 15:54:20 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 4Mncf504nHz4fdVc; Wed, 12 Oct 2022 15:54:21 +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 4Mncf457yXz3H4V; Wed, 12 Oct 2022 15:54:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665590060; 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=giukTu7FqTsZ3JPPpwO8QVPAaz8xkJBeigcmO+aR8V4=; b=uWBjW8WVjQVpWvT3F5F9LpqtNf3r/QsTTWO7xroErspe39Xj2iQSIUxqt51NJcOgffcJ/I V9Ta8AJ8Dq6W2Zl9jrDKQwEDl997wI/6hOgGdT3HodbP/y/oUdV/hIqTVK9sSIF90Yupgs D3El1T4bWJZw4TZk8LXDOuz5wXgxR0wC+JBCryDfZvZDmio59NAevni31HChAuGYKgNC+e 3FsuktwIORqlD/8GrfUWS5pMbwFnWMRrSF6Vho7cLISVHOZD4UpUsFy8HdPtCSiz1+Y2OK qX9frShbgq37ZlBtupZVpHGxfVkXbrJUAnYZf02nC6j7/NEMekJ+Pda7xoT9bg== 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 4Mncf44B4Vz1MJk; Wed, 12 Oct 2022 15:54:20 +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 29CFsKlU043934; Wed, 12 Oct 2022 15:54:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29CFsKv9043933; Wed, 12 Oct 2022 15:54:20 GMT (envelope-from git) Date: Wed, 12 Oct 2022 15:54:20 GMT Message-Id: <202210121554.29CFsKv9043933@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: 8e7cb25f5be3 - stable/13 - vt(4): Use define instead of numerical value. 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: 8e7cb25f5be387f00b0b0007facb750c65e042e6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665590060; 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=giukTu7FqTsZ3JPPpwO8QVPAaz8xkJBeigcmO+aR8V4=; b=DO2VWg0MsXrRVHG9c2B/woMc4tyYv+DqgRZvos1YRvz6pH/8JZLbUpkdgrqfw9eE16Z1/g sjkZ6cXNmwxC9ys2Oa1FmqnUi3d70mAgZAtC14P8LWkiLKyIPjH6A6AyZA2e6oV7Tz645L iAcXQvsJsTtla2HEI9iVBCBMRLPDt457Rkvd23515D9YvfgTLZ1zTl/odNdvv8KmSW9hlX iuWyEeCc/7Q74//6d6ySuyGZohkVEIEuOpJchEHvas4uaUZQcBS5KItRP1bETAUGNpfmKn +988f45OLFbbZOltHh8QPKxXEzFcToMx0rDareuoKhA5vEwKSIH7zFMEzDAQNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665590060; a=rsa-sha256; cv=none; b=rs3QfHkbOB82+SmmL1GrfEmtCtf6rPhKyNLcXSMq7N/EKB7kme5PEVEVv3RynN6K3vJ0yR fLGG5K4FCwjKXltdfPvTYnt6ZE6JEZN7V0bqGR/OPvMXNWODOE11Y7SRcWcsDOFG2DuukO 0Q9+CBymrApoaQTA1BAiSOjND1ot446EAXlkHi8ugJlk+Twuk/KDh84AxFcpj8tUktWT9h 7WI5v25wpQgn4vSf8eK5lsI83Y13Ihcf0oLy5ZBYI7kmSPRa42GQ9FHm6MI/HJYX//UiDb 5JbLzWxu/9f/DZ1m1bZyh73cxOLwjDCzYl3PsSS6Ejo7WaMTBc86K5uh0F2o0Q== 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=8e7cb25f5be387f00b0b0007facb750c65e042e6 commit 8e7cb25f5be387f00b0b0007facb750c65e042e6 Author: Hans Petter Selasky AuthorDate: 2022-10-05 09:50:42 +0000 Commit: Hans Petter Selasky CommitDate: 2022-10-12 15:53:22 +0000 vt(4): Use define instead of numerical value. No functional change intended. Sponsored by: NVIDIA Networking (cherry picked from commit 18a44589fcdc9833b3756854c2db4b68e750d7d7) --- sys/dev/vt/vt_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index bfe0ffd48249..c5347db94c86 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -2240,7 +2240,7 @@ vt_mouse_event(int type, int x, int y, int event, int cnt, int mlevel) if (!(vd->vd_mstate & MOUSE_BUTTON1DOWN)) mark = VTB_MARK_EXTEND; else - mark = 0; + mark = VTB_MARK_NONE; break; default: mark = VTB_MARK_EXTEND;