Thread (9 messages) 9 messages, 3 authors, 2016-02-09
STALE3820d
Revisions (10)
  1. v1 [diff vs current]
  2. v1 [diff vs current]
  3. v1 [diff vs current]
  4. v1 [diff vs current]
  5. v2 [diff vs current]
  6. v3 [diff vs current]
  7. v4 [diff vs current]
  8. v4 [diff vs current]
  9. v4 current
  10. v4 [diff vs current]

[PATCH v4 3/3] kallsyms: remove --page-offset command line option

From: Ard Biesheuvel <hidden>
Date: 2016-02-09 16:17:08

On 9 February 2016 at 17:09, Chris Brandt [off-list ref] wrote:
On 9 Feb 2016, Ard Biesheuvel wrote:
quoted
diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c
index 02473b71643b..32c8d43590af 100644
--- a/scripts/kallsyms.c
+++ b/scripts/kallsyms.c
@@ -63,7 +63,6 @@ static unsigned int table_size, table_cnt;
static int all_symbols = 0;
static int absolute_percpu = 0;
static char symbol_prefix_char = '\0';
-static unsigned long long kernel_start_addr = 0;
static int base_relative = 0;


You removed kernel_start_addr, but you didn't remove all the instances of it in the file (you did remove them all in V2 though).

So, now I get:

  CC      scripts/mod/devicetable-offsets.s
../scripts/kallsyms.c: In function 'record_relative_base':
../scripts/kallsyms.c:740:6: error: 'kernel_start_addr' undeclared (first use in this function)
  if (kernel_start_addr > 0) {
      ^
../scripts/kallsyms.c:740:6: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/kallsyms] Error 1
That is because this patch

http://ozlabs.org/~akpm/mmots/broken-out/kallsyms-add-support-for-relative-offsets-in-kallsyms-address-table-v5.patch

is also in flight, via akpm's tree, and is expected to hit -next
tomorrow. That patch removes this reference (or alternatively, will
not introduce it anymore if akpm decides to fold it into
http://ozlabs.org/~akpm/mmots/broken-out/kallsyms-add-support-for-relative-offsets-in-kallsyms-address-table.patch
before submitting it)

Going forward, it probably makes sense to only submit #1 of this
series for v4.6, and queue the remaining two after the merge window.

Thanks for testing btw,
Ard.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help