diff options
author | Kees Cook <kees@outflux.net> | 2012-01-12 17:20:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-12 20:13:13 -0800 |
commit | c755201eb5c1e09f3477d0e83ae1e3aadac0e8d1 (patch) | |
tree | af48ca5cc4ef2173b64e421d7ad550dc10c437f0 /lib | |
parent | fdb5950754eb3dedb9fea7c8828d3e51d9dbc3f7 (diff) | |
download | op-kernel-dev-c755201eb5c1e09f3477d0e83ae1e3aadac0e8d1.zip op-kernel-dev-c755201eb5c1e09f3477d0e83ae1e3aadac0e8d1.tar.gz |
ramoops: update parameters only after successful init
If a platform device exists on the system, but ramoops fails to attach to
it, the module parameters are overridden before ramoops can fall back and
try to use passed module parameters. Move update to end of init routine.
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Marco Stornelli <marco.stornelli@gmail.com>
Cc: Sergiu Iordache <sergiu@chromium.org>
Cc: Seiji Aguchi <seiji.aguchi@hds.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions