diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-03-04 19:47:13 -0500 |
commit | c71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch) | |
tree | ecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /net/atm/proc.c | |
parent | ea53c912f8a86a8567697115b6a0d8152beee5c8 (diff) | |
parent | 6a00f206debf8a5c8899055726ad127dbeeed098 (diff) |
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts:
litmus/sched_cedf.c
Diffstat (limited to 'net/atm/proc.c')
-rw-r--r-- | net/atm/proc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/atm/proc.c b/net/atm/proc.c index 6262aeae398e..be3afdefec58 100644 --- a/net/atm/proc.c +++ b/net/atm/proc.c | |||
@@ -38,6 +38,7 @@ static ssize_t proc_dev_atm_read(struct file *file, char __user *buf, | |||
38 | static const struct file_operations proc_atm_dev_ops = { | 38 | static const struct file_operations proc_atm_dev_ops = { |
39 | .owner = THIS_MODULE, | 39 | .owner = THIS_MODULE, |
40 | .read = proc_dev_atm_read, | 40 | .read = proc_dev_atm_read, |
41 | .llseek = noop_llseek, | ||
41 | }; | 42 | }; |
42 | 43 | ||
43 | static void add_stats(struct seq_file *seq, const char *aal, | 44 | static void add_stats(struct seq_file *seq, const char *aal, |
@@ -190,7 +191,7 @@ static void vcc_info(struct seq_file *seq, struct atm_vcc *vcc) | |||
190 | { | 191 | { |
191 | struct sock *sk = sk_atm(vcc); | 192 | struct sock *sk = sk_atm(vcc); |
192 | 193 | ||
193 | seq_printf(seq, "%p ", vcc); | 194 | seq_printf(seq, "%pK ", vcc); |
194 | if (!vcc->dev) | 195 | if (!vcc->dev) |
195 | seq_printf(seq, "Unassigned "); | 196 | seq_printf(seq, "Unassigned "); |
196 | else | 197 | else |
@@ -217,7 +218,7 @@ static void svc_info(struct seq_file *seq, struct atm_vcc *vcc) | |||
217 | { | 218 | { |
218 | if (!vcc->dev) | 219 | if (!vcc->dev) |
219 | seq_printf(seq, sizeof(void *) == 4 ? | 220 | seq_printf(seq, sizeof(void *) == 4 ? |
220 | "N/A@%p%10s" : "N/A@%p%2s", vcc, ""); | 221 | "N/A@%pK%10s" : "N/A@%pK%2s", vcc, ""); |
221 | else | 222 | else |
222 | seq_printf(seq, "%3d %3d %5d ", | 223 | seq_printf(seq, "%3d %3d %5d ", |
223 | vcc->dev->number, vcc->vpi, vcc->vci); | 224 | vcc->dev->number, vcc->vpi, vcc->vci); |