diff options
| author | Yuan Chen <chenyuan@kylinos.cn> | 2025-06-27 10:16:43 +0800 |
|---|---|---|
| committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-07-04 11:09:43 -0700 |
| commit | 1c8c354098ea9d4376a58c96ae6b65288a6f15d8 (patch) | |
| tree | 8c8fc3e5c8a5ca3b9ea7003dcb1122e73beed1f0 /rust/helpers/task.c | |
| parent | 024bd19bab0843f020053793223433eb852b93a2 (diff) | |
drm/msm: Add error handling for krealloc in metadata setup
Function msm_ioctl_gem_info_set_metadata() now checks for krealloc
failure and returns -ENOMEM, avoiding potential NULL pointer dereference.
Explicitly avoids __GFP_NOFAIL due to deadlock risks and allocation constraints.
Signed-off-by: Yuan Chen <chenyuan@kylinos.cn>
Patchwork: https://patchwork.freedesktop.org/patch/661235/
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
