diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-07-07 10:23:07 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-07-07 20:49:10 -0700 |
| commit | 0f092793a7b527dfb2cde323d4e5630d43447b84 (patch) | |
| tree | 25b191fa69ccb8fe674c7f478e08bce2439c92c4 /rust/zerocopy/git@git.tavy.me:linux-stable.git | |
| parent | 2f8b8593c7832fad655290cef9e99af05b1b52b3 (diff) | |
accel/amdxdna: Check drmm_mutex_init() return value
drmm_mutex_init() may fail and return an error. Check the return value
and abort initialization if mutex creation fails.
Fixes: 8c9ff1b181ba ("accel/amdxdna: Add a new driver for AMD AI Engine")
Reviewed-by: Max Zhen <max.zhen@amd.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260707172307.539676-1-lizhi.hou@amd.com
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
