Commit f8343685643f2901fe11aa9d0358cafbeaf7b4c3
Committed by
Linus Torvalds
1 parent
632155e659
Exists in
master
and in
39 other branches
parse errors in ifdefs
Fix various bits of obviously-busted code which we're not happening to compile, due to ifdefs. Cc: "Luck, Tony" <tony.luck@intel.com> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Richard Henderson <rth@twiddle.net> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Jeff Garzik <jeff@garzik.org> Cc: Jan Kara <jack@ucw.cz> Cc: James Bottomley <James.Bottomley@steeleye.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 9 changed files with 16 additions and 16 deletions Side-by-side Diff
Documentation/ia64/aliasing-test.c
arch/alpha/boot/tools/mkbb.c
arch/arm/mm/alignment.c
arch/mips/jmr3927/rbhma3100/kgdb_io.c
arch/mips/pci/pci-ocelot.c
... | ... | @@ -71,19 +71,19 @@ |
71 | 71 | } |
72 | 72 | |
73 | 73 | static struct resource ocelot_mem_resource = { |
74 | - start = GT_PCI_MEM_BASE; | |
75 | - end = GT_PCI_MEM_BASE + GT_PCI_MEM_BASE - 1; | |
74 | + .start = GT_PCI_MEM_BASE, | |
75 | + .end = GT_PCI_MEM_BASE + GT_PCI_MEM_BASE - 1, | |
76 | 76 | }; |
77 | 77 | |
78 | 78 | static struct resource ocelot_io_resource = { |
79 | - start = GT_PCI_IO_BASE; | |
80 | - end = GT_PCI_IO_BASE + GT_PCI_IO_SIZE - 1; | |
79 | + .start = GT_PCI_IO_BASE, | |
80 | + .end = GT_PCI_IO_BASE + GT_PCI_IO_SIZE - 1, | |
81 | 81 | }; |
82 | 82 | |
83 | 83 | static struct pci_controller ocelot_pci_controller = { |
84 | - .pci_ops = gt64xxx_pci0_ops; | |
85 | - .mem_resource = &ocelot_mem_resource; | |
86 | - .io_resource = &ocelot_io_resource; | |
84 | + .pci_ops = gt64xxx_pci0_ops, | |
85 | + .mem_resource = &ocelot_mem_resource, | |
86 | + .io_resource = &ocelot_io_resource, | |
87 | 87 | }; |
88 | 88 | |
89 | 89 | static int __init ocelot_pcibios_init(void) |
drivers/mtd/nand/ppchameleonevb.c
... | ... | @@ -424,9 +424,9 @@ |
424 | 424 | |
425 | 425 | /* Release iomaps */ |
426 | 426 | this = (struct nand_chip *) &ppchameleon_mtd[1]; |
427 | - iounmap((void *) this->IO_ADDR_R; | |
427 | + iounmap((void *) this->IO_ADDR_R); | |
428 | 428 | this = (struct nand_chip *) &ppchameleonevb_mtd[1]; |
429 | - iounmap((void *) this->IO_ADDR_R; | |
429 | + iounmap((void *) this->IO_ADDR_R); | |
430 | 430 | |
431 | 431 | /* Free the MTD device structure */ |
432 | 432 | kfree (ppchameleon_mtd); |
drivers/net/fec_8xx/fec_main.c
drivers/scsi/NCR5380.c
... | ... | @@ -2625,7 +2625,7 @@ |
2625 | 2625 | #ifdef REAL_DMA |
2626 | 2626 | static void NCR5380_dma_complete(NCR5380_instance * instance) { |
2627 | 2627 | NCR5380_local_declare(); |
2628 | - struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata * instance->hostdata); | |
2628 | + struct NCR5380_hostdata *hostdata = (struct NCR5380_hostdata *) instance->hostdata; | |
2629 | 2629 | int transferred; |
2630 | 2630 | NCR5380_setup(instance); |
2631 | 2631 |
fs/udf/super.c