diff options
| author | Brian Norris <briannorris@google.com> | 2016-03-14 13:34:44 -0700 |
|---|---|---|
| committer | Brian Norris <briannorris@google.com> | 2016-03-14 13:34:44 -0700 |
| commit | 157aa28fd7bf66bf3d9d1774398fddc7dc255c52 (patch) | |
| tree | d7de8d028bcfa730b5b34ec60558bf0f730a65ed /arch/powerpc/kernel/process.c | |
| parent | fafb89f95a059c26223956bd035dcb0d90a0d523 (diff) | |
FROMLIST: pstore-ram: fix NULL reference when used with pdata
When using platform-data (not DT), we get an OOPS, because drvdata is
only initialized after we try to use it.
This addresses my comments made on the upstream submission here:
https://patchwork.kernel.org/patch/7980651/
Fixes boot on Chrome OS systems, including the Pixel 2.
Change-Id: I97360edf2ce61c83dc543cb6c169f3287e2dae4b
Fixes: b1d1b7187c11 ("FROMLIST: pstore-ram: add Device Tree bindings")
Signed-off-by: Brian Norris <briannorris@google.com>
Diffstat (limited to 'arch/powerpc/kernel/process.c')
0 files changed, 0 insertions, 0 deletions
