From: Dan Carpenter <[email protected]> Date: Wed, 14 Jun 2017 13:41:52 +0300
> If we hit this error path we end up returning ERR_PTR(0) which is NULL.
> The caller is not expecting that so it results in a NULL dereference.
>
> Fixes: 410ed13cae39 ("Add the mlxfw module for Mellanox firmware flash
> process")
> Signed-off-by: Dan Carpenter <[email protected]>
Applied.
