diff options
-rw-r--r-- | arch/ia64/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/ia64/pci/pci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 088e5dded8dc..c33305d8e5eb 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
@@ -518,7 +518,7 @@ show_cpuinfo (struct seq_file *m, void *v) | |||
518 | char family[32], features[128], *cp, sep; | 518 | char family[32], features[128], *cp, sep; |
519 | struct cpuinfo_ia64 *c = v; | 519 | struct cpuinfo_ia64 *c = v; |
520 | unsigned long mask; | 520 | unsigned long mask; |
521 | unsigned int proc_freq; | 521 | unsigned long proc_freq; |
522 | int i; | 522 | int i; |
523 | 523 | ||
524 | mask = c->features; | 524 | mask = c->features; |
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 20d76fae24e8..30dbc98bf0b3 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c | |||
@@ -700,7 +700,7 @@ int ia64_pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size) | |||
700 | */ | 700 | */ |
701 | int ia64_pci_legacy_write(struct pci_dev *bus, u16 port, u32 val, u8 size) | 701 | int ia64_pci_legacy_write(struct pci_dev *bus, u16 port, u32 val, u8 size) |
702 | { | 702 | { |
703 | int ret = 0; | 703 | int ret = size; |
704 | 704 | ||
705 | switch (size) { | 705 | switch (size) { |
706 | case 1: | 706 | case 1: |