git: 0d96ceb1e1a8 - stable/14 - cavium/thunder: Use device_set_desc()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 27 Jun 2024 15:30:55 UTC
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=0d96ceb1e1a87348083a72fbd085e181b6583d17 commit 0d96ceb1e1a87348083a72fbd085e181b6583d17 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-06-05 14:14:00 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-06-27 15:27:41 +0000 cavium/thunder: Use device_set_desc() No functional change intended. MFC after: 1 week (cherry picked from commit 5823a09f79499d426f9f57131be756ddc9be3ff9) --- 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 a1bd54d9744d..2841486c1442 100644 --- a/sys/arm64/cavium/thunder_pcie_pem.c +++ b/sys/arm64/cavium/thunder_pcie_pem.c @@ -735,7 +735,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); }