aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2024-04-08 14:45:58 +0000
committerMark Brown <[email protected]>2024-04-08 15:38:13 +0000
commitd6f2fd7adcb5f25ac661808be9409f846b1de6fe (patch)
tree6753e1f336b1d96e42b5fdb150764a55fc427aee /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentregmap: kunit: Use a KUnit action to call regmap_exit() (diff)
downloadkernel-d6f2fd7adcb5f25ac661808be9409f846b1de6fe.tar.gz
kernel-d6f2fd7adcb5f25ac661808be9409f846b1de6fe.zip
regmap: kunit: Replace a kmalloc/kfree() pair with KUnit-managed alloc
Replace the kmalloc() and kfree() in raw_read_defaults() with a kunit_kmalloc() so that KUnit will free it automatically. Signed-off-by: Richard Fitzgerald <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions