diff options
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlanproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/8021q/vlanproc.c b/net/8021q/vlanproc.c index d216a64421cd..8693b21b3caa 100644 --- a/net/8021q/vlanproc.c +++ b/net/8021q/vlanproc.c | |||
@@ -342,7 +342,7 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset) | |||
342 | seq_printf(seq, "Device: %s", dev_info->real_dev->name); | 342 | seq_printf(seq, "Device: %s", dev_info->real_dev->name); |
343 | /* now show all PRIORITY mappings relating to this VLAN */ | 343 | /* now show all PRIORITY mappings relating to this VLAN */ |
344 | seq_printf(seq, | 344 | seq_printf(seq, |
345 | "\nINGRESS priority mappings: 0:%lu 1:%lu 2:%lu 3:%lu 4:%lu 5:%lu 6:%lu 7:%lu\n", | 345 | "\nINGRESS priority mappings: 0:%u 1:%u 2:%u 3:%u 4:%u 5:%u 6:%u 7:%u\n", |
346 | dev_info->ingress_priority_map[0], | 346 | dev_info->ingress_priority_map[0], |
347 | dev_info->ingress_priority_map[1], | 347 | dev_info->ingress_priority_map[1], |
348 | dev_info->ingress_priority_map[2], | 348 | dev_info->ingress_priority_map[2], |
@@ -357,7 +357,7 @@ static int vlandev_seq_show(struct seq_file *seq, void *offset) | |||
357 | const struct vlan_priority_tci_mapping *mp | 357 | const struct vlan_priority_tci_mapping *mp |
358 | = dev_info->egress_priority_map[i]; | 358 | = dev_info->egress_priority_map[i]; |
359 | while (mp) { | 359 | while (mp) { |
360 | seq_printf(seq, "%lu:%hu ", | 360 | seq_printf(seq, "%u:%hu ", |
361 | mp->priority, ((mp->vlan_qos >> 13) & 0x7)); | 361 | mp->priority, ((mp->vlan_qos >> 13) & 0x7)); |
362 | mp = mp->next; | 362 | mp = mp->next; |
363 | } | 363 | } |