projects
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9213428
)
[FIX] Ksyms: Fix warnings
43/14943/8
author
Alexander Aksenov
<a.aksenov@samsung.com>
Tue, 14 Jan 2014 07:38:26 +0000
(11:38 +0400)
committer
Dmitry Kovalenko
<d.kovalenko@samsung.com>
Thu, 27 Mar 2014 04:31:17 +0000
(21:31 -0700)
Change-Id: Ia3f8522b9967047fd411ad7ba2f17168e2c61d20
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
ksyms/no_ksyms.c
patch
|
blob
|
history
diff --git
a/ksyms/no_ksyms.c
b/ksyms/no_ksyms.c
index
a91eeb8
..
47c2e67
100644
(file)
--- a/
ksyms/no_ksyms.c
+++ b/
ksyms/no_ksyms.c
@@
-139,7
+139,7
@@
static void free_smi(struct sys_map_item *smi)
kfree(smi);
}
-static void add_smi(
const
struct sys_map_item *smi)
+static void add_smi(struct sys_map_item *smi)
{
list_add_tail(&smi->list, &smi_list);
}
@@
-165,7
+165,7
@@
static struct sys_map_item *get_sys_map_item(char *begin, char *end)
memcpy(line, begin, len);
line[len] = '\0';
- n = sscanf(line, "%
x %c %127s", &addr, &attr, &
name);
+ n = sscanf(line, "%
lx %c %127s", &addr, &attr,
name);
name[127] = '\0';
if (n != 3) {