From nobody Mon May 20 04:08:39 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 4VjPFM66sjz5LhC4; Mon, 20 May 2024 04:08:39 +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 4VjPFM4dCsz4Cm6; Mon, 20 May 2024 04:08:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716178119; 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=cxGwQ3NDOc1b33h4wR5b76XwcoQRd869M8CrNIPAmFM=; b=bVW227U7qbbkeiBW3CXV0AnHk2Jr3wXoTxRxtHqThEmJD8eIEPi80ODulGRuCJq6KEWgH0 DnpM0xHjw5obrwYfVmdFaoYKha4R6OkBec6s/0euE1UCbqDrAPGTcye4gjFZ7MTNLU1QjQ fq+hwLSqCCyOEKjoq71hdogs3/H0uPRcvSu1H/2oKlypC56++8R2PugNMdnjFr3krNlM+Z M55ad4xrLztjp9dJBZB0F7nyWj1KJtXfnEBO8U0uF/FYv9L15DsIYTFPnxMate+dWKlE5N PbGnbrB7oMwp8ENA6R/EbPaDKVQY/+7VGyLM1aWCxTxKxiym6LNlj7sCQ6LIQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716178119; a=rsa-sha256; cv=none; b=CZP8RylXzW2Iq7h2K50gUPYkxtSEn44C2b9rfzHlfK3deI9nrZsb0bZj0slOUnuqDZ5fCQ gpgiMHBUa1ZKQMlrNUqRit02rkk3RyGQPhfRItFCJbkZ67WOOq+AerG8RUlcQlcoCtCa23 e0nS3ktLl2V01yLhfvbi7/zuR0xpSgrDkGzYXURUkSIi/vQHUexVNcRlI/5bdYuBr1I7uL 4lz05vy4ucY8DnzHBfxgBM0W+Zq8fcw00u7PaBoQSxlcaJI4uKCgzqpWQT0pH6DGtQBABb 33nq6jHa6DZIi62U3VKWezrp8F7BLzPQkeOCNu5gYSCzMkQDfYl0wbE7ILSBQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716178119; 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=cxGwQ3NDOc1b33h4wR5b76XwcoQRd869M8CrNIPAmFM=; b=y0Zsuduvaf13te0VtHMt9tmKYtRzT3A0YG5OmNPmGgMG7BAjN22eYAz73OC6QjFoXwafFs P2moflk7oc+Vr1PFcBPDe/4pAzPAqm7FSgabXqddzFKpQaG/blnK5OhqoLmG3YdHjPVLUi StkVQNlO8YfoPIi8XUF7XrjkSbhe4YZ5ROXp1f35Q+at2oIA9NhDsN6ScOP7TzmbHcYZgj muttNA9pVEv1SEfGuSS5sC92jg0Zk7+bVoGiZ9ZEfAPVLe+O/BTeVHdCyiwVU1BmMjWcBu AJh3+bCif2dwu2p6wVkFyWryrp+Z7V+4kIJEM+UN9QjziPZGjrKWOay5AsEUTg== 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 4VjPFM3PDNzNQ9; Mon, 20 May 2024 04:08:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44K48dM2081290; Mon, 20 May 2024 04:08:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44K48d9b081287; Mon, 20 May 2024 04:08:39 GMT (envelope-from git) Date: Mon, 20 May 2024 04:08:39 GMT Message-Id: <202405200408.44K48d9b081287@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 803060b21799 - main - i386/spinconsole: Use C99 initializers 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 803060b21799664ba2fd8d9d9890aaaf57421a5f Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=803060b21799664ba2fd8d9d9890aaaf57421a5f commit 803060b21799664ba2fd8d9d9890aaaf57421a5f Author: Warner Losh AuthorDate: 2024-05-19 20:52:53 +0000 Commit: Warner Losh CommitDate: 2024-05-20 04:05:41 +0000 i386/spinconsole: Use C99 initializers Sponsored by: Netflix --- stand/i386/libi386/spinconsole.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/stand/i386/libi386/spinconsole.c b/stand/i386/libi386/spinconsole.c index 156eaf35e1c0..67561ff03bbd 100644 --- a/stand/i386/libi386/spinconsole.c +++ b/stand/i386/libi386/spinconsole.c @@ -47,14 +47,13 @@ static int spinc_ischar(void); extern struct console *consoles[]; struct console spinconsole = { - "spinconsole", - "spin port", - 0, - spinc_probe, - spinc_init, - spinc_putchar, - spinc_getchar, - spinc_ischar + .c_name = "spinconsole", + .c_desc = "spin port", + .c_probe = spinc_probe, + .c_init = spinc_init, + .c_out = spinc_putchar, + .c_in = spinc_getchar, + .c_ready = spinc_ischar }; static struct console *parent = NULL;