Skip to content
Commit fc46d4e4 authored by Kees Cook's avatar Kees Cook
Browse files

ramoops: add pdata NULL check to ramoops_probe



This adds a check for a NULL platform data, which should only be possible
if a driver incorrectly sets up a probe request without also having defined
the platform_data structure. This is based on a patch from Geliang Tang.

Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 70ad35db
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