diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index d84ce222c516aecab3c6b8724a14bcd5d18d8f22..6c26c4daaec99765c6fe87cae79a75fa7dc963a6 100644 --- a/fs/pstore/ram.c +++ b/fs/pstore/ram.c @@ -622,7 +622,7 @@ static void ramoops_register_dummy(void) dummy_data->mem_size = mem_size; dummy_data->mem_address = mem_address; - dummy_data->mem_type = 0; + dummy_data->mem_type = mem_type; dummy_data->record_size = record_size; dummy_data->console_size = ramoops_console_size; dummy_data->ftrace_size = ramoops_ftrace_size;