summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-tps6586x.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2022-12-20 14:55:03 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-01-11 16:40:45 -0500
commit23b02b0e4678d9d30931eecd5e5dbb06db7f957f (patch)
tree4833f274f6284f0e7b3161f59eba958a24581917 /drivers/gpio/gpio-tps6586x.c
parent7f347e3f821743a02c249abe50e467a333fabcfe (diff)
downloadlinux-23b02b0e4678d9d30931eecd5e5dbb06db7f957f.tar.gz
linux-23b02b0e4678d9d30931eecd5e5dbb06db7f957f.tar.bz2
linux-23b02b0e4678d9d30931eecd5e5dbb06db7f957f.zip
drm/amdkfd: Cleanup vm process info if init vm failed
If acquire_vm failed when initializing KFD vm, set vm->process_info to NULL and free process info, otherwise, the future acquire_vm will always fail as vm->process_info is not NULL. Pass avm as parameter to remove the duplicate code. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpio/gpio-tps6586x.c')
0 files changed, 0 insertions, 0 deletions