[source] kernel: fix crashlog build error on 4.9

LEDE Commits lede-commits at lists.infradead.org
Mon Feb 6 02:57:33 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/478be1d371adde09c1b13421fd51d0e209f0b625

commit 478be1d371adde09c1b13421fd51d0e209f0b625
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Feb 6 11:41:23 2017 +0100

    kernel: fix crashlog build error on 4.9
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/generic/patches-4.9/930-crashlog.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/generic/patches-4.9/930-crashlog.patch b/target/linux/generic/patches-4.9/930-crashlog.patch
index 7877f56..a2e2180 100644
--- a/target/linux/generic/patches-4.9/930-crashlog.patch
+++ b/target/linux/generic/patches-4.9/930-crashlog.patch
@@ -212,8 +212,8 @@
 +		crashlog_printf("Modules:");
 +		list_for_each_entry(m, crashlog_modules, list) {
 +			crashlog_printf("\t%s@%p+%x", m->name,
-+			m->module_core, m->core_size,
-+			m->module_init, m->init_size);
++			m->core_layout.base, m->core_layout.size,
++			m->init_layout.base, m->init_layout.size);
 +		}
 +		crashlog_printf("\n");
 +		first = false;



More information about the lede-commits mailing list