mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
Fixup the amdgpu_bus_id() string format
The func is a u, instead of a signed int. v2: Drop the precision - s/1u/u/ (Michel) Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Emil Velikov
parent
abbe23fae7
commit
16ae0d06c6
@@ -81,7 +81,7 @@ static char *amdgpu_bus_id(ScrnInfoPtr pScrn, struct pci_device *dev)
|
||||
{
|
||||
char *busid;
|
||||
|
||||
XNFasprintf(&busid, "pci:%04x:%02x:%02x.%d",
|
||||
XNFasprintf(&busid, "pci:%04x:%02x:%02x.%u",
|
||||
dev->domain, dev->bus, dev->dev, dev->func);
|
||||
|
||||
if (!busid)
|
||||
|
||||
Reference in New Issue
Block a user