From nobody Thu Jun 27 15:31:13 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 4W92bQ42CVz5Ptks; Thu, 27 Jun 2024 15:31:14 +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 4W92bQ0Trhz4Bs8; Thu, 27 Jun 2024 15:31:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719502274; 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=2KyOXGK497dodNkoUYbFMmXGdAleIaiwo+PgbzH+cYM=; b=bPRdyMx2/AJwqdWxNsHQRP94K9Doxl3H2wNsFm7wNoAjO554ZzlCZ3UNAfI0nzabVNTJOp g7yjVsw6U/Y0k2HFrw4TEThBHyI2DqGJfahfCL2RVtqrKIyn1Ztf0Sb/1mwuMdlsRu4/uP L351LzZZ87LAIxLR8KC/2Ehb6YRKAePPXDwRMAoyDJRD+Ue3U26UkCGVzWyEpfZAKsuV7J ybUxcL+C2aqerpwCsuA7oON4PRnSAUWGBYX4637QIhBMZySHLgYeQo8KZdnmtUpy9fFfT2 68eEeXrui6p+a0fFTkIGG+eM/yg9PcB/YY5ezUisQCsouEW/5RzikGuLhc4f+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719502274; a=rsa-sha256; cv=none; b=IiwZFeJCUtXWU1IYvLSlWNbtYDW/FmNf5P5zy60fYZqE6ckk2gMtiH3C15bYtlzZEDS3ku mt6njsHn2rlmBt11SH0O5VjWWljKWZ7jq5HQis+xPe0idVyRquq6jei4XxNgMsxpVXK9Dg a3JjLFiymJGKq1gwvwOV86AFw7vWK8qK9/kw7mZ2br2l1EDBy0eGB+oGOMy2vkQFjCJhjy kppynWfFFlH+jNpB3eHLc0NBU4auU1pUt+PQtttD69CyMXNi09HgnBieImh+zaw4+UfWOc WutDMHktVbyv4jA3AoezdE5o/46arU3q8gWmKY2xAFSib+sbFIeHTh4a+n32aw== 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=1719502274; 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=2KyOXGK497dodNkoUYbFMmXGdAleIaiwo+PgbzH+cYM=; b=EZlGF+5Duc5MSIRb1qgEnWNeJkld9oYGfkwDpewLZP4G8NzcKcb0wIgZPGU0gIO2WZ/VHR mHerFJ/Ew8zWZ6twvg42mjU+9FMS/w7pbGDbhr5VEtQafAkwZd5Sbv9J65MYUC8TkQSEA8 kjxlElPI5A1A27VY1LFMURh8JRN7Uc0a09QtXpKIVp0MMKkeTZ7EaeVBiOGYPP2cJ7gk9S ratxi8ZyifygGY69UvhCe8n7d3p/AGuwrlEjAkPak6nRIugWo2AyZqHulzhmurCKK1Y0mq K2mqBu4CLANX94jMeS3tLy6CASG3xj+186LFv/hDTmOYiWr3Vo5jHOAxEN9DTw== 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 4W92bQ05zSzJ69; Thu, 27 Jun 2024 15:31:14 +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 45RFVDKM079024; Thu, 27 Jun 2024 15:31:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45RFVDuK079021; Thu, 27 Jun 2024 15:31:13 GMT (envelope-from git) Date: Thu, 27 Jun 2024 15:31:13 GMT Message-Id: <202406271531.45RFVDuK079021@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: c64abeae220e - stable/14 - pir: Use device_set_descf() 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/stable/14 X-Git-Reftype: branch X-Git-Commit: c64abeae220e3d6bf17f9c6a066cb75b4cf17ec6 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c64abeae220e3d6bf17f9c6a066cb75b4cf17ec6 commit c64abeae220e3d6bf17f9c6a066cb75b4cf17ec6 Author: Mark Johnston AuthorDate: 2024-06-05 19:29:30 +0000 Commit: Mark Johnston CommitDate: 2024-06-27 15:27:41 +0000 pir: Use device_set_descf() No functional change intended. MFC after: 1 week (cherry picked from commit a96a9577127c9bf804e7e47e38e7b4123a43efa1) --- sys/i386/pci/pci_pir.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index d3ae100a43d0..71dbb66b920b 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -654,11 +654,8 @@ pci_pir_probe(int bus, int require_parse) static int pir_probe(device_t dev) { - char buf[64]; - - snprintf(buf, sizeof(buf), "PCI Interrupt Routing Table: %d Entries", + device_set_descf(dev, "PCI Interrupt Routing Table: %d Entries", pci_route_count); - device_set_desc_copy(dev, buf); return (0); }