Skip to content
Commit ded4c55d authored by Sachin Kamat's avatar Sachin Kamat Committed by Artem Bityutskiy
Browse files

mtd: s3c2410: Fix potential NULL pointer dereference error



'set' is tested for NULL. But subsequently accessed without the check.
Thus making it conditional to avoid NULL pointer dereferencing.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
parent 2cbba75a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment