artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44c37aa
)
drm/amdkfd: Fix kernel warning during topology setup
author
jsg
<jsg@openbsd.org>
Fri, 13 Jan 2023 01:50:53 +0000
(
01:50
+0000)
committer
jsg
<jsg@openbsd.org>
Fri, 13 Jan 2023 01:50:53 +0000
(
01:50
+0000)
From Mukul Joshi
306888b1246bf44e703b6f1ccc746c2746c1a981
in linux-6.1.y/6.1.5
cf97eb7e47d4671084c7e114c5d88a3d0540ecbd
in mainline linux
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
b/sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
index
3f0a4a4
..
35a9b70
100644
(file)
--- a/
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
+++ b/
sys/dev/pci/drm/amd/amdkfd/kfd_topology.c
@@
-801,7
+801,7
@@
static int kfd_build_sysfs_node_entry(struct kfd_topology_device *dev,
p2plink->attr.name = "properties";
p2plink->attr.mode = KFD_SYSFS_FILE_MODE;
- sysfs_attr_init(&
io
link->attr);
+ sysfs_attr_init(&
p2p
link->attr);
ret = sysfs_create_file(p2plink->kobj, &p2plink->attr);
if (ret < 0)
return ret;