diff for duplicates of <20101013093619.GC6060@bicker> diff --git a/a/1.txt b/N1/1.txt index 187cff1..0d39835 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -15,8 +15,8 @@ index e06c6ae..c8cc32c 100644 pch_gbe_hal_write_phy_reg(hw, MII_BMCR, BMCR_RESET); -- if (ecmd->speed = -1) -+ if (ecmd->speed = USHRT_MAX) { +- if (ecmd->speed == -1) ++ if (ecmd->speed == USHRT_MAX) { ecmd->speed = SPEED_1000; ecmd->duplex = DUPLEX_FULL; + } diff --git a/a/content_digest b/N1/content_digest index 18729cc..b8fee32 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch -next] pch_gbe: fix if condition in set_settings()\0" - "Date\0Wed, 13 Oct 2010 09:36:19 +0000\0" + "Date\0Wed, 13 Oct 2010 11:36:19 +0200\0" "To\0netdev@vger.kernel.org\0" "Cc\0Masayuki Ohtake <masa-korg@dsn.okisemi.com>" David S. Miller <davem@davemloft.net> @@ -24,8 +24,8 @@ " \n" " \tpch_gbe_hal_write_phy_reg(hw, MII_BMCR, BMCR_RESET);\n" " \n" - "-\tif (ecmd->speed = -1)\n" - "+\tif (ecmd->speed = USHRT_MAX) {\n" + "-\tif (ecmd->speed == -1)\n" + "+\tif (ecmd->speed == USHRT_MAX) {\n" " \t\tecmd->speed = SPEED_1000;\n" " \t\tecmd->duplex = DUPLEX_FULL;\n" "+\t}\n" @@ -33,4 +33,4 @@ " \tif (ret) {\n" " \t\tpr_err(\"Error: mii_ethtool_sset\\n\");" -89e8125578fcd890da6bed77ebb13d7c921349dfee6977aafa6d36af89fa934e +7b4c8662730b22c85497c1248c4792f14b44b6d96bc10789a42b7ba117ee2e24
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.