2003-05-23 20:36:28

by Eduardo Pereira Habkost

[permalink] [raw]
Subject: [PATCH] Fix multiline string

Detected when using gcc 3.3.

--
Eduardo


diff -purN linux-2.4.orig/drivers/net/tokenring/olympic.c linux-2.4/drivers/net/tokenring/olympic.c
--- linux-2.4.orig/drivers/net/tokenring/olympic.c 2003-05-22 20:13:15.000000000 -0300
+++ linux-2.4/drivers/net/tokenring/olympic.c 2003-05-22 20:13:15.000000000 -0300
@@ -655,8 +655,8 @@ static int olympic_open(struct net_devic
printk(" stat_ring[7]: %p\n", &(olympic_priv->olympic_rx_status_ring[7]) );

printk("RXCDA: %x, rx_ring[0]: %p\n",readl(olympic_mmio+RXCDA),&olympic_priv->olympic_rx_ring[0]);
- printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr =
-%08x\n",olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ;
+ printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr = %08x\n",
+ olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ;
#endif

writew((((readw(olympic_mmio+RXENQ)) & 0x8000) ^ 0x8000) | i,olympic_mmio+RXENQ);


Attachments:
(No filename) (930.00 B)
(No filename) (189.00 B)
Download all attachments