The return value of kfifo_alloc() should be checked by IS_ERR(). Signed-off-by: Akinobu Mita <[email protected]> Signed-off-by: David S. Miller <[email protected]>