Skip to content
Commit ac16ca64 authored by Akinobu Mita's avatar Akinobu Mita Committed by David S. Miller
Browse files

[NET]: Fix kfifo_alloc() error check.



The return value of kfifo_alloc() should be checked by IS_ERR().

Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 753eab76
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