summaryrefslogtreecommitdiff
path: root/fs/sysfs
diff options
context:
space:
mode:
authorChris Wilson <chris.p.wilson@linux.intel.com>2023-01-17 15:32:34 +0300
committerAndi Shyti <andi.shyti@linux.intel.com>2023-01-18 12:16:50 +0300
commit14ec40a88210151296fff3e981c1a7196ad9bf55 (patch)
tree078b75a6cc0b9444c44b23f811717ee46694c3c2 /fs/sysfs
parent67804e48b4945e109b54b4bf5a75f5cad3e2dca0 (diff)
downloadlinux-14ec40a88210151296fff3e981c1a7196ad9bf55.tar.xz
drm/i915/selftests: Unwind hugepages to drop wakeref on error
Make sure that upon error after we have acquired the wakeref we do release it again. v2: add another missing "goto out_wf"(Andi). Fixes: 027c38b4121e ("drm/i915/selftests: Grab the runtime pm in shrink_thp") Cc: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Signed-off-by: Chris Wilson <chris.p.wilson@linux.intel.com> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com> Reviewed-by: Nirmoy Das <nirmoy.das@intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230117123234.26487-1-nirmoy.das@intel.com
Diffstat (limited to 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions