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

Skip to content
Commit e8a308af authored by Kiran Padwal's avatar Kiran Padwal Committed by David S. Miller
Browse files

ARCNET: Add missing error check for devm_kzalloc



This patch add a missing check on the return value of devm_kzalloc,
which would cause a NULL pointer dereference in a OOM situation.

Signed-off-by: default avatarKiran Padwal <kiran.padwal@smartplayin.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7744b5f3
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