net: convert %p usage to %pK
[deliverable/linux.git] / net / packet / af_packet.c
index b5362e96022b84259739770ff87114ccbe743bae..925f715686a5d0e57c657ee6af40b5792c085a6d 100644 (file)
@@ -538,7 +538,7 @@ static inline unsigned int run_filter(const struct sk_buff *skb,
        rcu_read_lock();
        filter = rcu_dereference(sk->sk_filter);
        if (filter != NULL)
-               res = sk_run_filter(skb, filter->insns);
+               res = SK_RUN_FILTER(filter, skb);
        rcu_read_unlock();
 
        return res;
@@ -2706,7 +2706,7 @@ static int packet_seq_show(struct seq_file *seq, void *v)
                const struct packet_sock *po = pkt_sk(s);
 
                seq_printf(seq,
-                          "%p %-6d %-4d %04x   %-5d %1d %-6u %-6u %-6lu\n",
+                          "%pK %-6d %-4d %04x   %-5d %1d %-6u %-6u %-6lu\n",
                           s,
                           atomic_read(&s->sk_refcnt),
                           s->sk_type,
This page took 0.092338 seconds and 5 git commands to generate.