Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fe274c5a authored by Insu Yun's avatar Insu Yun Committed by Doug Ledford
Browse files

usnic: correctly handle kzalloc return value



Since kzalloc returns memory address, not error code,
it should be checked whether it is null or not.

Signed-off-by: default avatarInsu Yun <wuninsu@gmail.com>
Reviewed-by: default avatarDave Goodell <dgoodell@cisco.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 35ef4a9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment