diff for duplicates of <20150818032840.GA14566@localhost> diff --git a/a/1.txt b/N1/1.txt index c490119..7c69573 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -25,7 +25,7 @@ index e209b03..efb57c0 100644 return PTR_ERR(clk); @@ -624,21 +624,18 @@ static int pxa168fb_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - if (res = NULL) { + if (res == NULL) { dev_err(&pdev->dev, "no IO memory defined\n"); - ret = -ENOENT; - goto failed_put_clk; @@ -41,7 +41,7 @@ index e209b03..efb57c0 100644 } info = framebuffer_alloc(sizeof(struct pxa168fb_info), &pdev->dev); - if (info = NULL) { + if (info == NULL) { - ret = -ENOMEM; - goto failed_put_clk; + return -ENOMEM; diff --git a/a/content_digest b/N1/content_digest index d3302b2..8a175ef 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Vaishali Thakkar <vthakkar1994@gmail.com>\0" "Subject\0[PATCH] video: fbdev: Use devm_clk_get\0" - "Date\0Tue, 18 Aug 2015 03:40:40 +0000\0" + "Date\0Tue, 18 Aug 2015 08:58:40 +0530\0" "To\0Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>\0" "Cc\0Tomi Valkeinen <tomi.valkeinen@ti.com>" linux-fbdev@vger.kernel.org @@ -34,7 +34,7 @@ " \t\treturn PTR_ERR(clk);\n" "@@ -624,21 +624,18 @@ static int pxa168fb_probe(struct platform_device *pdev)\n" " \tres = platform_get_resource(pdev, IORESOURCE_MEM, 0);\n" - " \tif (res = NULL) {\n" + " \tif (res == NULL) {\n" " \t\tdev_err(&pdev->dev, \"no IO memory defined\\n\");\n" "-\t\tret = -ENOENT;\n" "-\t\tgoto failed_put_clk;\n" @@ -50,7 +50,7 @@ " \t}\n" " \n" " \tinfo = framebuffer_alloc(sizeof(struct pxa168fb_info), &pdev->dev);\n" - " \tif (info = NULL) {\n" + " \tif (info == NULL) {\n" "-\t\tret = -ENOMEM;\n" "-\t\tgoto failed_put_clk;\n" "+\t\treturn -ENOMEM;\n" @@ -77,4 +77,4 @@ "-- \n" 1.9.1 -9edf233053f301897c290f5ca1e39cc474b69821316453265474621282d27279 +359929691b2957d729b74b1d130fea9a91d0ea4c331e84b2ee336e46e0101575
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.