Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UWB: Return UWB_RSV_ALLOC_NOT_FOUND rather than crashing on NULL dere…
…ference if kzalloc fails Crashing on a null pointer deref is never a nice thing to do. It seems to me that it's better to simply return UWB_RSV_ALLOC_NOT_FOUND if kzalloc() fails in uwb_rsv_find_best_allocation(). Signed-off-by: Jesper Juhl <[email protected]> Acked-by: David Vrabel <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information