Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jun 2024 20:37:46 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5823a09f7949 - main - cavium/thunder: Use device_set_desc()
Message-ID:  <202406162037.45GKbk9k079124@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=5823a09f79499d426f9f57131be756ddc9be3ff9

commit 5823a09f79499d426f9f57131be756ddc9be3ff9
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-06-05 14:14:00 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-06-16 20:37:25 +0000

    cavium/thunder: Use device_set_desc()
    
    No functional change intended.
    
    MFC after:      1 week
---
 sys/arm64/cavium/thunder_pcie_pem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm64/cavium/thunder_pcie_pem.c b/sys/arm64/cavium/thunder_pcie_pem.c
index dd6ef14f1a6e..a27ed810c618 100644
--- a/sys/arm64/cavium/thunder_pcie_pem.c
+++ b/sys/arm64/cavium/thunder_pcie_pem.c
@@ -766,7 +766,7 @@ thunder_pem_probe(device_t dev)
 
 	if ((pci_vendor_id == THUNDER_PEM_VENDOR_ID) &&
 	    (pci_device_id == THUNDER_PEM_DEVICE_ID)) {
-		device_set_desc_copy(dev, THUNDER_PEM_DESC);
+		device_set_desc(dev, THUNDER_PEM_DESC);
 		return (0);
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406162037.45GKbk9k079124>