From nobody Wed Jul 13 17:00:01 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 07ACE1CFA254; Wed, 13 Jul 2022 17:00:02 +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 4LjkPs6hZ8z3fg6; Wed, 13 Jul 2022 17:00:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657731601; 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=JUZpiCAOcg4zUvJkzXJzLV3PDsX4fTSLQackiEVVBfc=; b=u4gL8I3EMUa0Heo9Uhh0hKNnVQfc9pilztIQbyBuYd9JlRpgMUba8msM/LIHU9DSCEOTTS 8rMo1BTSCmdiCcgt+HgN9VwU1dcKbENzjZf8qWpi0bA9/JwtVoGWb3cjCKVtednHz/vP20 ASic/mZd/RnHZSvN1k78Xsx+rgFN4Lw/o41oucACuLyGEg67v8/hNFPJhJzhS5O7mZnpY6 STBnSefyeaHF0iepDo6dnx+Y2aZTno1NXxLl07Tkls5CRmFuBKkgg53znAgGSgprTo7hIO nf9CIIBQf947Z9F9GvppZdULex5MsKSTbjk0rYxaZY8T4FOprugfcdpr+7L+1w== 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 4LjkPs5lsXzWxf; Wed, 13 Jul 2022 17:00:01 +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 26DH0107068485; Wed, 13 Jul 2022 17:00:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26DH01NQ068477; Wed, 13 Jul 2022 17:00:01 GMT (envelope-from git) Date: Wed, 13 Jul 2022 17:00:01 GMT Message-Id: <202207131700.26DH01NQ068477@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: 82a21151cf1d - main - Fill in cn_name in struct consdev. 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: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 82a21151cf1d7a3e9e95b9edbbf74ac10f386d6a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1657731601; 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=JUZpiCAOcg4zUvJkzXJzLV3PDsX4fTSLQackiEVVBfc=; b=pX4zKKvVDmeo/s8LgQLHmAMFnsZYfQVPW3w9rfkeGncc7IELrw+UG3Sqij3i1+8QGBLNMh sbbmrJlPUntbRVXpo5hiqoDLZ+wyLVQ0wRx+oQIl7QqSChf4L/nXwGTLdM4WVXjl1DbH6g ewMAkpmlIC3YCoIdie25W+2IHxMIJzhTdAV17V/vAM4cE1RVpYLa0Hw83MkYPlC5ibaMfX cyt5c8XPTzZ3SW6iSFzR+/9/0NqK/KbU6jBQ6anw0Nl1MmUnGGA33p+mWbGLUXlmbhqJ7S S6vmnKEPROlqJE5uYVyIBwsYstaORd20jn5e2YbbOVVBhoTmWwbkNhoBYE2itw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657731601; a=rsa-sha256; cv=none; b=W6LqaEby1TF78GOIrpz/+zHhiqcCiGhrY5XibxmTGOdMaubcwLzU9v3KAsXRdl3Jh3Luza /BsxmaJAGlr5DiZoOWU9O7aTWhqZVwsBZgTQKYEtRPbaSDIwXos04PwzGBBm9lYlgjrYeU b5zk7aJv7fvrB0L84g2lKW7so3GhsqnL7+t/qpfI2HHViLrNRe2yO3aOvNu3mrtfkU37hw kycVs8clltWUzPXk9Mfs0TsK8OlC9uhae+mgzjNhlGcaNcoVgbItQu3gSqMqENoCagLVrZ Lh5VYZX0In7Zx6eX3lyhv3mri/1/ch+2M2a3j/CPCvq8uQ2cmfvzPo2QBIXPBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=82a21151cf1d7a3e9e95b9edbbf74ac10f386d6a commit 82a21151cf1d7a3e9e95b9edbbf74ac10f386d6a Author: Colin Percival AuthorDate: 2022-07-13 00:41:06 +0000 Commit: Colin Percival CommitDate: 2022-07-13 16:59:00 +0000 Fill in cn_name in struct consdev. It makes debugging easier if the name is filled in from the start. Reviewed by: imp Sponsored by: https://www.patreon.com/cperciva Differential Revision: https://reviews.freebsd.org/D35795 --- sys/sys/cons.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/sys/cons.h b/sys/sys/cons.h index ad73b258df6d..fec7f6c01b84 100644 --- a/sys/sys/cons.h +++ b/sys/sys/cons.h @@ -104,6 +104,7 @@ extern struct tty *constty; /* Temporary virtual console. */ static struct consdev name = { \ .cn_ops = &ops, \ .cn_arg = (arg), \ + .cn_name = #name, \ }; \ DATA_SET(cons_set, name)