diff options
| author | Georgi Djakov <[email protected]> | 2020-02-26 11:04:20 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-03 07:02:57 +0000 |
| commit | 3791163602f7140011a8dc1691cfe6ec0cb1ef07 (patch) | |
| tree | ec3e52e893fb9cec4b5f13f3df3b7b39c86b0f8f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | altera-stapl: altera_get_note: prevent write beyond end of 'key' (diff) | |
| download | kernel-3791163602f7140011a8dc1691cfe6ec0cb1ef07.tar.gz kernel-3791163602f7140011a8dc1691cfe6ec0cb1ef07.zip | |
interconnect: Handle memory allocation errors
When we allocate memory, kasprintf() can fail and we must check its
return value.
Fixes: 05309830e1f8 ("interconnect: Add a name to struct icc_path")
Signed-off-by: Georgi Djakov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
