Skip to content
Snippets Groups Projects
user avatar
Tanya Brokhman authored
In case of an error (if there are not free PEB's for example),
__wl_get_peb will return a negative value. In order to prevent access
violation we need to test the returned value prior to using it later on.

Signed-off-by: default avatarTatyana Brokhman <tlinder@codeaurora.org>
Reviewed-by: default avatarDolev Raviv <draviv@codeaurora.org>
Acked-by: default avatarRichard Weinberger <richard@nod.at>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
87ed89d2
History
Name Last commit Last update