Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When kmalloc_array() fails to allocate memory, the ubd_init() should return -ENOMEM instead of -1. So, fix it. Fixes: f88f0bd ("um: UBD Improvements") Signed-off-by: Duoming Zhou <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
- Loading branch information