Skip to content
Commit 562c5a70 authored by John Crispin's avatar John Crispin Committed by David S. Miller
Browse files

net: mediatek: add missing return code check



The code fails to check if the scratch memory was properly allocated. Add
this check and return with an error if the allocation failed.

Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0b392be9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment