Searched hist:"4 fa01c6357d5f4ae80b1794c5ecb71c0c66cd528" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_topology.c | diff 4fa01c6357d5f4ae80b1794c5ecb71c0c66cd528 Wed Feb 15 19:09:00 CST 2023 Thomas Weißschuh <linux@weissschuh.net> drm/amdkfd: Make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definitions to prevent modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|
H A D | kfd_process.c | diff 4fa01c6357d5f4ae80b1794c5ecb71c0c66cd528 Wed Feb 15 19:09:00 CST 2023 Thomas Weißschuh <linux@weissschuh.net> drm/amdkfd: Make kobj_type structures constant
Since commit ee6d3dd4ed48 ("driver core: make kobj_type constant.") the driver core allows the usage of const struct kobj_type.
Take advantage of this to constify the structure definitions to prevent modification at runtime.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
|