diff options
| author | Daniel Xu <[email protected]> | 2020-04-09 06:27:29 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2020-04-09 19:33:09 +0000 |
| commit | 772b3140669246e1ab32392c490d338e2eb7b803 (patch) | |
| tree | 404162cb31bd7fd2afd7e906dac4ce076ad5f6a9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window" (diff) | |
| download | kernel-772b3140669246e1ab32392c490d338e2eb7b803.tar.gz kernel-772b3140669246e1ab32392c490d338e2eb7b803.zip | |
xattr: fix uninitialized out-param
`removed_sized` isn't correctly initialized (as the doc comment
suggests) on memory allocation failures. Fix by moving initialization up
a bit.
Fixes: 0c47383ba3bd ("kernfs: Add option to enable user xattrs")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Daniel Xu <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
