projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd0daf9
)
can: convert to %pK for kptr_restrict support
author
Oliver Hartkopp
<socketcan@hartkopp.net>
Thu, 26 May 2011 04:57:53 +0000
(
04:57
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 26 May 2011 18:23:35 +0000
(14:23 -0400)
As these pointers have been printed without using %p they were missed in the
big network kptr_restrict conversion patch %p -> %pK from Dan Rosenberg.
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/proc.c
patch
|
blob
|
blame
|
history
diff --git
a/net/can/proc.c
b/net/can/proc.c
index f4265cc9c3fbee335f16f467ac7f0a197e43977c..0016f73396995e2ca21275d6bfc17ed8374e7f3c 100644
(file)
--- a/
net/can/proc.c
+++ b/
net/can/proc.c
@@
-204,12
+204,11
@@
static void can_print_rcvlist(struct seq_file *m, struct hlist_head *rx_list,
hlist_for_each_entry_rcu(r, n, rx_list, list) {
char *fmt = (r->can_id & CAN_EFF_FLAG)?
- " %-5s %08
X %08x %08x %08x
%8ld %s\n" :
- " %-5s %03
X %08x %08lx %08lx
%8ld %s\n";
+ " %-5s %08
x %08x %pK %pK
%8ld %s\n" :
+ " %-5s %03
x %08x %pK %pK
%8ld %s\n";
seq_printf(m, fmt, DNAME(dev), r->can_id, r->mask,
- (unsigned long)r->func, (unsigned long)r->data,
- r->matches, r->ident);
+ r->func, r->data, r->matches, r->ident);
}
}