Skip to content
Commit 444efbde authored by YueHaibing's avatar YueHaibing Committed by Kalle Valo
Browse files

ray_cs: Check return value of pcmcia_register_driver



init_ray_cs does not check value of pcmcia_register_driver,
if it fails, there maybe cause a NULL pointer dereference in
exit_ray_cs.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent d442af2e
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