Skip to content
Commit 3e15ddde authored by Aymen Qader's avatar Aymen Qader Committed by Greg Kroah-Hartman
Browse files

staging: rtlwifi: Return -ENOMEM instead of -1



Use the ENOMEM constant instead of -1 for kzalloc failure checks in
rtl_halmac.c

Signed-off-by: default avatarAymen Qader <qader.aymen@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ee607b8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment