Skip to content
Commit 6034bb22 authored by Dan Carpenter's avatar Dan Carpenter Committed by Philipp Zabel
Browse files

reset: NULL deref on allocation failure



"rstc" is NULL here and we should use "rcdev" instead of "rstc->rcdev".

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 61fc4131
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