All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <4D5A67D2.7090903@renesas.com>

diff --git a/a/1.txt b/N1/1.txt
index 179d473..37ae940 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -39,7 +39,7 @@ index 0593f29..ca7ff4e 100644
 
 +static int sh_eth_is_gether(struct sh_eth_private *mdp)
 +{
-+	if (mdp->reg_offset = sh_eth_offset_gigabit)
++	if (mdp->reg_offset == sh_eth_offset_gigabit)
 +		return 1;
 +	else
 +		return 0;
@@ -58,7 +58,7 @@ index 0593f29..ca7ff4e 100644
  	u32 addr;
 @@ -493,9 +509,8 @@ static void sh_eth_ring_format(struct net_device *ndev)
  		/* Rx descriptor address set */
- 		if (i = 0) {
+ 		if (i == 0) {
  			sh_eth_write(ndev, mdp->rx_desc_dma, RDLAR);
 -#if defined(CONFIG_CPU_SUBTYPE_SH7763)
 -			sh_eth_write(ndev, mdp->rx_desc_dma, RDFAR);
@@ -69,7 +69,7 @@ index 0593f29..ca7ff4e 100644
  	}
 
 @@ -515,9 +530,8 @@ static void sh_eth_ring_format(struct net_device *ndev)
- 		if (i = 0) {
+ 		if (i == 0) {
  			/* Tx descriptor address set */
  			sh_eth_write(ndev, mdp->tx_desc_dma, TDLAR);
 -#if defined(CONFIG_CPU_SUBTYPE_SH7763)
diff --git a/a/content_digest b/N1/content_digest
index c59033e..4261349 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,6 +1,6 @@
  "From\0Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>\0"
  "Subject\0[RFC, PATCH 3/4] net: sh_eth: remove almost #ifdef of SH7763\0"
- "Date\0Tue, 15 Feb 2011 11:47:30 +0000\0"
+ "Date\0Tue, 15 Feb 2011 20:47:30 +0900\0"
  "To\0netdev@vger.kernel.org\0"
  "Cc\0SH-Linux <linux-sh@vger.kernel.org>\0"
  "\00:1\0"
@@ -46,7 +46,7 @@
  "\n"
  "+static int sh_eth_is_gether(struct sh_eth_private *mdp)\n"
  "+{\n"
- "+\tif (mdp->reg_offset = sh_eth_offset_gigabit)\n"
+ "+\tif (mdp->reg_offset == sh_eth_offset_gigabit)\n"
  "+\t\treturn 1;\n"
  "+\telse\n"
  "+\t\treturn 0;\n"
@@ -65,7 +65,7 @@
  " \tu32 addr;\n"
  "@@ -493,9 +509,8 @@ static void sh_eth_ring_format(struct net_device *ndev)\n"
  " \t\t/* Rx descriptor address set */\n"
- " \t\tif (i = 0) {\n"
+ " \t\tif (i == 0) {\n"
  " \t\t\tsh_eth_write(ndev, mdp->rx_desc_dma, RDLAR);\n"
  "-#if defined(CONFIG_CPU_SUBTYPE_SH7763)\n"
  "-\t\t\tsh_eth_write(ndev, mdp->rx_desc_dma, RDFAR);\n"
@@ -76,7 +76,7 @@
  " \t}\n"
  "\n"
  "@@ -515,9 +530,8 @@ static void sh_eth_ring_format(struct net_device *ndev)\n"
- " \t\tif (i = 0) {\n"
+ " \t\tif (i == 0) {\n"
  " \t\t\t/* Tx descriptor address set */\n"
  " \t\t\tsh_eth_write(ndev, mdp->tx_desc_dma, TDLAR);\n"
  "-#if defined(CONFIG_CPU_SUBTYPE_SH7763)\n"
@@ -188,4 +188,4 @@
  "-- \n"
  1.7.1
 
-e503d13ad94d6c24de218174b3cca0dbb4ee687f8f01fab56393d384b3112556
+97cc1f31ed59b009d928acddffbfa92427d1489ff1d330c13415b8cc3753c543

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.