]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/tile: Release kobject for the failure path
authorShuicheng Lin <shuicheng.lin@intel.com>
Tue, 19 Aug 2025 15:39:51 +0000 (15:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Sep 2025 09:16:51 +0000 (11:16 +0200)
commitf32a0226e848052d4d7003907d596e467a74c5b7
tree0c50c2339aaf7e6d0b6cdf462cdd122b407144f2
parent65c5cfbd6d938f77a0df3c34855a4f7d8a61fd10
drm/xe/tile: Release kobject for the failure path

[ Upstream commit 013e484dbd687a9174acf8f4450217bdb86ad788 ]

Call kobject_put() for the failure path to release the kobject

v2: remove extra newline. (Matt)

Fixes: e3d0839aa501 ("drm/xe/tile: Abort driver load for sysfs creation failure")
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Link: https://lore.kernel.org/r/20250819153950.2973344-2-shuicheng.lin@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit b98775bca99511cc22ab459a2de646cd2fa7241f)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/xe/xe_tile_sysfs.c