diff for duplicates of <20100824165333.GI29330@bicker> diff --git a/a/1.txt b/N1/1.txt index 35ab498..fa76697 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -22,13 +22,13 @@ index 857a681..302fb48 100644 platform_set_drvdata(pdev, dev); @@ -1507,12 +1507,12 @@ static int pxa168_eth_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - if (res = NULL) { + if (res == NULL) { err = -ENODEV; - goto out; + goto err_netdev; } pep->base = ioremap(res->start, res->end - res->start + 1); - if (pep->base = NULL) { + if (pep->base == NULL) { err = -ENOMEM; - goto out; + goto err_netdev; @@ -37,7 +37,7 @@ index 857a681..302fb48 100644 BUG_ON(!res); @@ -1549,7 +1549,7 @@ static int pxa168_eth_probe(struct platform_device *pdev) pep->smi_bus = mdiobus_alloc(); - if (pep->smi_bus = NULL) { + if (pep->smi_bus == NULL) { err = -ENOMEM; - goto out; + goto err_base; diff --git a/a/content_digest b/N1/content_digest index b9c968b..8bb1854 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch 2/4] pxa168_eth: fix error handling in prope\0" - "Date\0Tue, 24 Aug 2010 16:53:33 +0000\0" + "Date\0Tue, 24 Aug 2010 18:53:33 +0200\0" "To\0Sachin Sanap <ssanap@marvell.com>\0" "Cc\0David S. Miller <davem@davemloft.net>" netdev@vger.kernel.org @@ -31,13 +31,13 @@ " \tplatform_set_drvdata(pdev, dev);\n" "@@ -1507,12 +1507,12 @@ static int pxa168_eth_probe(struct platform_device *pdev)\n" " \tres = platform_get_resource(pdev, IORESOURCE_MEM, 0);\n" - " \tif (res = NULL) {\n" + " \tif (res == NULL) {\n" " \t\terr = -ENODEV;\n" "-\t\tgoto out;\n" "+\t\tgoto err_netdev;\n" " \t}\n" " \tpep->base = ioremap(res->start, res->end - res->start + 1);\n" - " \tif (pep->base = NULL) {\n" + " \tif (pep->base == NULL) {\n" " \t\terr = -ENOMEM;\n" "-\t\tgoto out;\n" "+\t\tgoto err_netdev;\n" @@ -46,7 +46,7 @@ " \tBUG_ON(!res);\n" "@@ -1549,7 +1549,7 @@ static int pxa168_eth_probe(struct platform_device *pdev)\n" " \tpep->smi_bus = mdiobus_alloc();\n" - " \tif (pep->smi_bus = NULL) {\n" + " \tif (pep->smi_bus == NULL) {\n" " \t\terr = -ENOMEM;\n" "-\t\tgoto out;\n" "+\t\tgoto err_base;\n" @@ -103,4 +103,4 @@ " \treturn err;\n" } -e70d21836bdbac2afe6924e35c703d659a1ab4d8472294acb8ebba90bb0d81f0 +bbaa0c56f8108bb239f98e34e667298ea4d7c0f08cf3cd2d977ce412b9056f96
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.